Ummm ... Homosexuals have been allowed to legally serve in the military ever since Bill Clinton instituted "Don't Ask - Don't Tell" in 1993.
They just have to keep their mouths shut. (No pun intended.)
Only those of us that served prior to 1993 have ever experienced a military where homosexuals were not allowed to legally serve in the military. That excludes the vast majority of the current active duty population.
They're are still not legally allowed to serve, if they ooze out of the closet they get tossed.