--- vlan/vconfig.8 +++ vlan/vconfig.8 @@ -22,8 +22,8 @@ will be called according to the nameing convention set. Removes the named vlan\-device. .TP .B set_flag [vlan\-device] 0 | 1 -When 1, ethernet header reorders are turned on. Dumping the device -will appear as a common ethernet device without vlans. When 0(default) +When 1 (the default since 2.6.18), ethernet header reorders are turned on. +Dumping the device will appear as a common ethernet device without vlans. When 0 however, ethernet headers are not reordered, which results in vlan tagged packets when dumping the device. Usually the default gives no problems, but some packet filtering programs might have problems with it. --- vlan/vconfig.c +++ vlan/vconfig.c @@ -52,15 +52,18 @@ static char* usage = "* vlan_qos is the 3 bit priority in the VLAN header\n" "* name-type: VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5),\n" " DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5)\n" +// This option appears nowhere else in the source, see Debian #398807 +#if 0 "* bind-type: PER_DEVICE # Allows vlan 5 on eth0 and eth1 to be unique.\n" " PER_KERNEL # Forces vlan 5 to be unique across all devices.\n" +#endif "* FLAGS: 1 REORDER_HDR When this is set, the VLAN device will move the\n" " ethernet header around to make it look exactly like a real\n" " ethernet device. This may help programs such as DHCPd which\n" " read the raw ethernet packet and make assumptions about the\n" " location of bytes. If you don't need it, don't turn it on, because\n" " there will be at least a small performance degradation. Default\n" -" is OFF.\n"; +" is ON (since linux kernel 2.6.18).\n"; void show_usage() { fprintf(stdout,usage);