Make sure TXT records are in same order as setup on mdns announce #1684

Merged
merged 2 commits into from Feb 7, 2013

2 participants

@elupus
Team Kodi member

The txtvers record in TXT records is often required to be the first record. So allow this in our API.

elupus added some commits Oct 26, 2012
@elupus elupus zeroconf: maintain txt record order when publishing service 25629fc
@elupus elupus zeroconf/osx: maintain txt field order on publish
OSX create the txt records using a dictionary, so to maintain
order, we use a custom hash function that put all elements
in the same hash bucket.
f78ada6
@Memphiz
Team Kodi member

Looks good and straight forward.

@Memphiz
Team Kodi member

@elupus - if you want that in - push that button...

@elupus elupus merged commit c2a21de into xbmc:master Feb 7, 2013
@elupus
Team Kodi member

Suppose it won't hurt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment