Check for interface type ethernet before call ether_brport_isset()
authorjan <jan@openbsd.org>
Tue, 4 Jul 2023 13:37:47 +0000 (13:37 +0000)
committerjan <jan@openbsd.org>
Tue, 4 Jul 2023 13:37:47 +0000 (13:37 +0000)
commit82f8b7b2de7aa07a00ffb127f405d871a856a0fc
tree37871d1d169df24b7329f365bb029dd9a9d1cfcf
parent3efac0e76e89bb8f55d6042f31739d91768d1217
Check for interface type ethernet before call ether_brport_isset()

Pointed out by bluhm.

ok bluhm@
sys/net/if.c