Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29480 - [netcfg] avoid errors due to multiple default routes

Attached to Project: Arch Linux
Opened by Phillip Smith (fukawi2) - Monday, 16 April 2012, 00:58 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 11 May 2012, 19:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
iproute2 does not allow multiple default gateways in ipv6. this patch checks for an existing default route before adding the gateway. if an existing gateway is found, we use the iproute2 command "route replace" instead of "route add"

Additional info:
* patch against 2.8.0

Steps to reproduce:
* Create an ethernet connection with 'static' IPv6 addressing and a default gateway
* Connect to this connection (`netcfg -u static-ipv6`).
* Reconnect to this connection (`netcfg -r static-ipv6`).
This task depends upon

Closed by  Jouke Witteveen (jouke)
Friday, 11 May 2012, 19:20 GMT
Reason for closing:  Fixed
Comment by Phillip Smith (fukawi2) - Monday, 16 April 2012, 00:58 GMT
Whoops, accidentally filed this in "Packages - Extra"; Should be "Packages - Core"
Comment by Jimmy Xu (jimmyxu) - Monday, 16 April 2012, 04:16 GMT
Actually, you can use ``replace'' even if there's no existing gateway. It'll behave like ``add'' or ``change'' automatically.
Comment by Phillip Smith (fukawi2) - Monday, 16 April 2012, 04:20 GMT
Well that's even cleaner IMHO; amended patch attached.

Loading...