CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2017/05/30 23:14:51
Modified files: sys/net : if_vlan.c Log message: make vlan use their parents lladdr all the time, not just when theyre up. krw@ has been having issues with dhclient on vlan interfaces because i made them only configure the lladdr when they were brought up. dhclient likes to read the mac address and then bring them up. this makes vlan copy the parents lladdr onto the vlan interface when the parent is configured. this probably helps with v6 addresses on vlan interfaces too. the new code still supports configuring a custom lladdr on a vlan interface. this can be done both before and after a parent is configured, and if a parent is removed. while here, if the parent is reconfigured while the vlan is up, dont error if the new parent is the same as the current one. this should make running netstart again less noisy. ok krw@