Package: net-tools / 1.60+git20161116.90da8a0-1

Bug#500913-man-en_US-route.8-EXAMPLES-Add-single-route-del.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Jari Aalto <jari.aalto@cante.net>
Description: man/en_US/route.8: (EXAMPLES): Add single route del
Bug-Debian: http://bugs.debian.org/500913
 
--- a/man/en_US/route.8
+++ b/man/en_US/route.8
@@ -205,6 +205,12 @@
 in the destination field of the current routing table.
 
 .TP
+.B route del \-net 192.56.76.0 netmask 255.255.255.0
+deletes the route. Since the Linux routing kernel uses classless
+addressing, you pretty much always have to specify the netmask that is
+same as as seen in 'route -n' listing.
+
+.TP
 .B route add default gw mango 
 adds a default route (which will be used if no other route matches).
 All packets using this route will be gatewayed through the address of a node