Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1249916

Bug#1107739: iproute2: ip-route(8) man page: incorrect "ip route delete" documentation

From Bjørn Mork <bjorn@mork.no>
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 18:40 +0200
Message-ID <KXfBD-ajI6-1@gated-at.bofh.it> (permalink)
References <KXfBD-ajI6-3@gated-at.bofh.it> <KX9Pz-agbL-1@gated-at.bofh.it> <KXfBD-ajI6-3@gated-at.bofh.it>
Organization m

Cross-posted to 2 groups.

Show all headers | View raw


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.


Bjørn

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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
  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