[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 950] network-bridge script does not cope with more than one default route
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=950 jason.dusek@xxxxxxxxx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.dusek@xxxxxxxxx ------- Comment #2 from jason.dusek@xxxxxxxxx 2008-01-26 22:59 ------- There's trouble when `ip route` includes metrics in the result -- picking out interface numbers can be accomplished with this function: function nums { ip route list | egrep -o '^default .* dev [^ ]+' | egrep -o '[0-9]$' } Do we pick the first or the last one? I don't know -- let's say the first: vifnum=${vifnum:-$(nums | head -n 1)} -- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |