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 153392 Details for
Bug 237667
network-bridge fails on some machines
[?]
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]
Fix addr_pfx test
p (text/plain), 745 bytes, created by
Herbert Xu
on 2007-04-24 23:38:39 UTC
(
hide
)
Description:
Fix addr_pfx test
Filename:
MIME Type:
Creator:
Herbert Xu
Created:
2007-04-24 23:38:39 UTC
Size:
745 bytes
patch
obsolete
>diff -ur xen-3.0.3_0-src.orig/tools/examples/network-bridge xen-3.0.3_0-src/tools/examples/network-bridge >--- xen-3.0.3_0-src.orig/tools/examples/network-bridge 2007-04-25 09:36:17.000000000 +1000 >+++ xen-3.0.3_0-src/tools/examples/network-bridge 2007-04-25 09:35:57.000000000 +1000 >@@ -68,6 +68,7 @@ > pdev="p${netdev}" > vdev="veth${vifnum}" > vif0="vif0.${vifnum}" >+addr_pfx= > > get_ip_info() { > addr_pfx=`ip addr show dev $1 | sed -n 's/^ *inet \(.*\) [^ ]*$/\1/p'` >@@ -84,7 +85,7 @@ > > do_ifup() { > if ! ifup $1 || ! is_ifup $1 ; then >- if [ ${addr_pfx} ] ; then >+ if [ -n "${addr_pfx}" ] ; then > # use the info from get_ip_info() > ip addr flush $1 > ip addr add ${addr_pfx} dev $1
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 237667
: 153392