CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2020/07/12 21:21:33
Modified files: sys/net : if_bridge.c Log message: when adding a non-existent interface as a port, don't try create missing ones. this was annoying if i made a typo like "ifconfig bridge0 add gre0" instead of "ifconfig bridge0 add egre0" because it would create gre0 and then get upset cos it's not an Ethernet interface. also, it left gre0 lying around. this used to be useful when configuring a bridge on boot because interfaces used to be created when they were configured, and bridges could be configured before some virtual interfaces. however, netstart now creates all necessary interfaces before configuring any of them, so bridge being helpful isn't necessary anymore. ok kn@