remove dead code: calling ether_attach which sets if_type to IFT_ETHER,
authorhenning <henning@openbsd.org>
Mon, 5 May 2014 10:00:45 +0000 (10:00 +0000)
committerhenning <henning@openbsd.org>
Mon, 5 May 2014 10:00:45 +0000 (10:00 +0000)
commit309baf307c285c7bde907febd19fc6dd4ac36cf2
tree063a6a93f83b1003d90863f0767b23985404f190
parent1c9ff2fdae0ff94d4427525ebeb7011351917ddc
remove dead code: calling ether_attach which sets if_type to IFT_ETHER,
just to set it to IFT_L2VLAN right afterwards, just to set if_type
to the parent's if_type which can be anything as long as it is IFT_ETHER
at config time doesn't make any sense and has zero effect. stop fiddling
with if_type alltogether.
also remove a question in a comment that has been answered by the last 14
years.
from Marrakesh airport, ok reyk
sys/net/if_vlan.c