CVS: cvs.openbsd.org: src
Bjorn Ketelaars <[email protected]> Wed, 22 Jul 2026 10:37:46 -0600 (MDT)
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/22 10:37:46 Modified files: usr.sbin/ospf6d: interface.c ospf6d.h parse.y Log message: ospf6d: preserve configured interface type on link update When an interface undergoes a link state change (RTM_IFINFO), if_update() unconditionally overwrites iface->type based on current interface flags. This causes interfaces explicitly configured with "type p2p" in ospf6d.conf to revert to broadcast (IF_TYPE_BROADCAST) on link bounce. Introduce F_IFACE_TYPE to track whether the interface type was set by configuration, and only auto-derive the type from interface flags when this flag is not set. Reported and tested by Atanas Vladimirov. OK claudio@