Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange behavior for route(8)



{184} route show -inet net 192.168.0/24
route: botched keyword: 192.168.0/24
Usage: route [-dfLnqSsTtv] cmd [[-<qualifiers>] args]

route show is documented to print the table.  It does not take narrowing
specifiers.

Try

 route get -inet 192.168.0.0/24

and it's arguably a bug that

 route get -inet 192.168.0/24

errors, but that route show prints it that way.

kewl, thanks.  somehow I completely missed all mention of ``route get''


+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
| & Network Engineer |                          | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index