Am I missing something or is your link making the exact opposite point that you made?
The author is right that strictly speaking the equal protection clause only applies to state laws, but the supreme court has also retroactively applied it to federal laws as well: