Only use the first egress interface in $IFIDX and $IFLLADDR. Systems
authorclaudio <claudio@openbsd.org>
Wed, 17 Apr 2024 06:18:18 +0000 (06:18 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 17 Apr 2024 06:18:18 +0000 (06:18 +0000)
commit8fada27075f654a9f0ae1d54fb045ac5034f91ec
tree8b35deacdec151c74b45d34d83a251b88af8bee3
parentadf0e8c9427de6dbe934cadaac05ff42e0e319f2
Only use the first egress interface in $IFIDX and $IFLLADDR. Systems
can have more then one interface.
This only works if ther first egress interface is a ethernet interface
(P2P interfaces have no LLADDR) but that was already buggy before this.
OK bluhm@ martijn@
regress/usr.bin/snmp/Makefile