]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
mdns: avahi: handle avahi client failure 428/head
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 24 Nov 2016 13:48:03 +0000 (14:48 +0100)
committerJörg Krause <joerg.krause@embedded.rocks>
Thu, 24 Nov 2016 13:51:17 +0000 (14:51 +0100)
commit9e61da91c08d3c705746b3293ba7047f8423f1aa
treed1f34ca67713855579b2e299bd1f6dc20e65e9b4
parente5ec3da9da8020b1ca650e2ba54e626703187663
mdns: avahi: handle avahi client failure

Handle the avahi client failure so that in case of a restart of the avahi
daemon the shairport-sync daemon has not to be restarted, too.

The handling is based on the error handling of avahi-publish [1].

[1]
https://github.com/lathiat/avahi/blob/master/avahi-utils/avahi-publish.c#L156-L179
mdns_avahi.c