Add more information to if_change() debug log using the new interface helper
authorclaudio <claudio@openbsd.org>
Sun, 22 Jul 2018 16:55:01 +0000 (16:55 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 22 Jul 2018 16:55:01 +0000 (16:55 +0000)
commit501be069dbf296a0403b495730d371d7916511e8
tree60d1a2f3883fe99d3f757bc8f4df6eb3267f74f0
parent6e8089a5ee18e7377661e7ab0273fbadbe54251b
Add more information to if_change() debug log using the new interface helper
functions in util.c. The idea is to make even debug messages as informative
as possible.
Before:
if_change: ifindex 1, ifi_rdomain 0
After:
if_change: em0: rdomain 0 UP, Ethernet, active, 1000 Mbps
OK benno@
usr.sbin/bgpd/kroute.c