Definitely clear:
Proverbs 13:24
He that spareth his rod hateth his SON: but he that loveth HIM chasteneth him betimes.
If daughters were to be included there was a perfectly useful word for "child" in Hebrew. It wasn't used.
I have still never had anyone quote a Biblical reference recommending the hitting of daughters. I have seen references to selling them and the owner hitting them.