Bug 12619 - vconfig creates VLAN with flag 1=1 instead of 0
Summary: vconfig creates VLAN with flag 1=1 instead of 0
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: vlan-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL: http://bugs.debian.org/cgi-bin/bugrep...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 17:44 MSD by Dmytro O. Redchuk
Modified: 2007-10-02 14:38 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmytro O. Redchuk 2007-08-23 17:44:45 MSD
Страница 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 Dmitry V. Levin 2007-10-02 14:38:30 MSD
Fixed docs in 1.9-alt3.