Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #87971
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation |
| Date | 2025-06-13 20:00 +0200 |
| Message-ID | <KXgR3-akpG-1@gated-at.bofh.it> (permalink) |
| References | <KXfBD-ajI6-3@gated-at.bofh.it> <KXfBD-ajI6-1@gated-at.bofh.it> <KX9Pz-agbL-1@gated-at.bofh.it> <KXfBD-ajI6-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
On 2025-06-13 18:15:55 +0200, Bjørn Mork wrote: > Vincent Lefevre <vincent@vinc17.net> writes: > > > The documentation of "ip route delete" in the ip-route(8) man page is > > incorrect. The man page says: > > > > ip route delete > > delete route > > ip route del has the same arguments as ip route add, but their > > semantics are a bit different. > > > > Key values (to, tos, preference and table) select the route to > > delete. If optional attributes are present, ip verifies that they > > coincide with the attributes of the route to delete. If no route > > with the given key and attributes was found, ip route del fails. > > > > But the behavior is unclear when several routes match the argument. > > Please demonstrate that. What should happen if one has 192.134.164.161 via 192.168.1.1 dev eth0 src 192.168.1.13 metric 100 192.134.164.161 via 192.168.1.1 dev wlp0s20f3 src 192.168.1.14 metric 600 and "ip route del 192.134.164.161" is done? -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Vincent Lefevre <vincent@vinc17.net> - 2025-06-13 12:30 +0200
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Luca Boccassi <bluca@debian.org> - 2025-06-13 12:50 +0200
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Vincent Lefevre <vincent@vinc17.net> - 2025-06-13 14:30 +0200
Processed: Re: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-13 12:50 +0200
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Bjørn Mork <bjorn@mork.no> - 2025-06-13 18:40 +0200
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Vincent Lefevre <vincent@vinc17.net> - 2025-06-13 20:00 +0200
Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation Bjørn Mork <bjorn@mork.no> - 2025-06-13 20:10 +0200
csiph-web