|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-bugs
[Xen-bugs] [Bug 950] network-bridge script does not cope with more	than  
| http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=950
------- Comment #1 from skinkie@xxxxxxxxx  2007-11-16 20:23 -------
Also IPv6 addresses result in badness:
ip addr show dev eth1 | egrep '^ *inet' | sed -e 's/ *inet //' -e "s/eth1//"
192.168.0.5/24 brd 192.168.0.255 scope global 
    inet6 fe80::219:b9ff:feeb:d3f6/64 scope link 
My suggestion to solve the IPv6 trouble:
ip addr show dev $1 | egrep '^ *inet ' | sed -e 's/ *inet //' -e "s/$1//"
(The space behind inet)
-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-bugs] [Bug 950] network-bridge script does not cope with more	than one default route,
bugzilla-daemon <=
 |  |  | 
  
    |  |  |