Fix inverted logic in recv_hello().
authorrenato <renato@openbsd.org>
Mon, 27 Jun 2016 19:18:54 +0000 (19:18 +0000)
committerrenato <renato@openbsd.org>
Mon, 27 Jun 2016 19:18:54 +0000 (19:18 +0000)
commit8eeefd1d801ce96cf1dc58cf19ff4af34ecad043
treeb95193669a962bc24f95a47060d2acdfdead3dd7
parent9c46b52f18e7fd7d55a2197def4b0e988148fafc
Fix inverted logic in recv_hello().

Bug introduced by rev1.48 two weeks ago. We were not respecting the
advertised transport connection preference (LDPoIPv4 or LDPoIPv6),
the fix is pretty obvious.
usr.sbin/ldpd/hello.c