Bug 12619 - vconfig creates VLAN with flag 1=1 instead of 0
: vconfig creates VLAN with flag 1=1 instead of 0
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/vlan-utils)
: unstable
: all Linux
: P2 minor
Assigned To:
:
: http://bugs.debian.org/cgi-bin/bugrep...
:
:
:
  Show dependency tree
 
Reported: 2007-08-23 17:44 by
Modified: 2007-10-02 14:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-23 17:44:45
Страница man vconfig, и подсказка команды vconfig, и Description
пакета vlan-utils говорят, что по умолчанию флаг REORDER_HDR равен нулю
("Default setting is off, which works for every other protocol, and is
slightly faster." (с) Description). На самом деле он равен единице.
Steps to Reproduce:
1. vconfig set_name_type DEV_PLUS_VID_NO_PAD
2. vconfig add <dev> <vid>
3. cat /proc/net/vlan/<dev>.<vid> | head -1

Actual Results:  
<dev>.<vid>  VID: <vid>    REORDER_HDR: 1  dev->priv_flags: 1

Expected Results:  
<dev>.<vid>  VID: <vid>    REORDER_HDR: 0  dev->priv_flags: 1
------- Comment #1 From 2007-10-02 14:38:30 -------
Fixed docs in 1.9-alt3.