ALT Linux Bugzilla
– Attachment 2184 Details for
Bug 12713
etcnet can not set/change flag(s) to vlan ifaces.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
diff делался против бранчевого etcnet.
etcnet-vlan-reorderhdr.patch (text/plain), 1.34 KB, created by
Dmytro O. Redchuk
on 2007-09-07 18:00:25 MSD
(
hide
)
Description:
diff делался против бранчевого etcnet.
Filename:
MIME Type:
Creator:
Dmytro O. Redchuk
Created:
2007-09-07 18:00:25 MSD
Size:
1.34 KB
patch
obsolete
>diff -urN etcnet-0.9.2.orig/docs/etcnet-options.5 etcnet-0.9.2/docs/etcnet-options.5 >--- etcnet-0.9.2.orig/docs/etcnet-options.5 2007-09-07 16:41:04 +0300 >+++ etcnet-0.9.2/docs/etcnet-options.5 2007-09-07 16:43:27 +0300 >@@ -213,6 +213,9 @@ > .TP > .B VID > Required VLAN ID. >+.TP >+.B REORDER_HDR >+Optional REORDER_HDR flag to vconfig. > .SH "DVB options" > .TP > .B DVBTYPE >diff -urN etcnet-0.9.2.orig/etc/net/scripts/create-vlan etcnet-0.9.2/etc/net/scripts/create-vlan >--- etcnet-0.9.2.orig/etc/net/scripts/create-vlan 2007-09-07 16:41:04 +0300 >+++ etcnet-0.9.2/etc/net/scripts/create-vlan 2007-09-07 16:24:24 +0300 >@@ -13,7 +13,7 @@ > > # obsolete now? > if iface_is_up $HOST; then >- create_vlan_iface $HOST $VID $NAME >+ create_vlan_iface $HOST $VID $NAME $REORDER_HDR > else > print_error "host interface '$HOST' for '$NAME' is down" > exit 1 >diff -urN etcnet-0.9.2.orig/etc/net/scripts/functions-vlan etcnet-0.9.2/etc/net/scripts/functions-vlan >--- etcnet-0.9.2.orig/etc/net/scripts/functions-vlan 2007-09-07 16:41:04 +0300 >+++ etcnet-0.9.2/etc/net/scripts/functions-vlan 2007-09-07 16:35:00 +0300 >@@ -22,6 +22,7 @@ > return 1 > } > $VCONFIG add $HOST_IFACE $VID >/dev/null 2>&1 || return 1 >+ $VCONFIG set_flag $HOST_IFACE.$VID 1 $REORDER_HDR # > /dev/null > local REALNAME=`get_vlan_ifname $HOST_IFACE $VID` > if [ -z "$NAME" -o "$NAME" = "AUTO" ]; then > NAME=$REALNAME
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12713
: 2184