resolved: make LLMNR checks conditional
authorDaniel Mack <daniel@zonque.org>
Sat, 11 Jul 2015 16:37:17 +0000 (12:37 -0400)
committerDaniel Mack <daniel@zonque.org>
Mon, 13 Jul 2015 15:28:30 +0000 (11:28 -0400)
commit818ef443f0281acd952878cdb01cbdaa42195912
treeb9c37a7459ba87b7e771eb41367899491e672932
parent8b757a38611006a751c90933d1810cccaa47e1af
resolved: make LLMNR checks conditional

Make all LLMNR related packet inspections conditional to p->protocol.
Use switch-case statements while at it, which will make future additions
more readable.
src/resolve/resolved-dns-packet.c