Bug 2335 - Not always works ip route replace
Summary: Not always works ip route replace
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.17.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 23:45 UTC by Evgeniy Manachkin
Modified: 2010-08-08 15:21 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Manachkin 2010-08-04 23:45:33 UTC
Example:
~ # ip route del 192.168.1.2 dev br0
~ # ip route replace 192.168.1.2 dev br0
~ # ip route replace 192.168.1.2 dev br0
ip: RTNETLINK answers: File exists

Route not replaced...

Or:
~ # ip route replace default dev br0
~ # ip route replace default dev br0
ip: RTNETLINK answers: File exists
~ # ip route del default dev br0
~ # ip route replace default dev br0

ip router replace works as ip route add :(
Comment 1 Evgeniy Manachkin 2010-08-08 15:21:13 UTC
Sorry. This bug in backport fibhash replace patch for old kernel code. Not busybox bug.