Not sure how your point fits in the conversation? I was in the Navy and did not have to report what went on with my girlfriend to my CO and I was not married until I left the military.
My point was that if gays want to marry or be in the military, the government has power in granting or not granting both of those things.