[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: Strange behavior for route(8)
From:       Paul Goyette <paul () whooppee ! com>
Date:       2023-07-28 20:18:49
Message-ID: Pine.NEB.4.64.2307281317360.21259 () speedy ! whooppee ! com
[Download RAW message or body]

>> {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    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette@netbsd.org  |
| & Network Engineer |                          | pgoyette99@gmail.com |
+--------------------+--------------------------+----------------------+
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic