Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316590 Details for
Bug 462095
VLAN configs do not work when renaming ethernet interfaces to non-numeric.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to /sbin/ifup
ifup.diff (text/plain), 986 bytes, created by
Jim Nelson
on 2008-09-12 15:28:51 UTC
(
hide
)
Description:
Patch to /sbin/ifup
Filename:
MIME Type:
Creator:
Jim Nelson
Created:
2008-09-12 15:28:51 UTC
Size:
986 bytes
patch
obsolete
>--- ifup.orig 2008-09-12 09:51:51.000000000 -0400 >+++ ifup 2008-09-12 09:57:11.000000000 -0400 >@@ -62,8 +62,8 @@ fi > # Ethernet 802.1Q VLAN support > if [ -x /sbin/vconfig -a "${VLAN}" = "yes" -a "$ISALIAS" = "no" ]; then > VID="" >- if [[ "${DEVICE}" =~ '^(eth|bond)[0-9]+\.[0-9]{1,4}$' ]]; then >- VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^[a-z0-9]*\.0*//') >+ if [[ "${DEVICE}" =~ '^(eth|bond)[0-9a-zA-Z]+\.[0-9]{1,4}$' ]]; then >+ VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^[a-zA-Z0-9]*\.0*//') > PHYSDEV=${DEVICE%.*} > fi > if [[ "${DEVICE}" =~ '^vlan[0-9]{1,4}?' ]]; then >@@ -75,6 +75,10 @@ if [ -x /sbin/vconfig -a "${VLAN}" = "ye > fi > fi > if [ -n "$VID" ]; then >+ if [[ "${VID}" -ge '4096' ]]; then >+ echo $"VLAN ID must be less than 4096 for ${DEVICE}" >+ exit 1 >+ fi > if [ ! -d /proc/net/vlan ]; then > if modprobe 8021q >/dev/null 2>&1 ; then > test -z "$VLAN_NAME_TYPE" && VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD
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 462095
: 316590 |
478120