HomeFreeBSD

ifconfig: fix ifconfig crash when compiled w/WITHOUT_NETLINK.

Description

ifconfig: fix ifconfig crash when compiled w/WITHOUT_NETLINK.

Properly update the recently-introduced ctx->ifname when iterating
over interfaces.

Reported by: Gary Jennejohn <garyj@gmx.de>
MFC after: 2 weeks

Details

Provenance
melifaroAuthored on Jun 14 2023, 10:37 AM
Parents
rG3927d0fb373c: ifconfig: fix -Wunused warnings
Branches
Unknown
Tags
Unknown