Commit Graph

14 Commits

Author SHA1 Message Date
drochner
85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
itojun
0a69640f14 remove false fix for routing socket align issue. 1999-09-03 04:17:19 +00:00
itojun
65b4964f1e fix alignment issue in routing socket data, on 64bit arch (i.e. alpha).
sockaddrs are packed with ROUNDUP() in sys/net/rtsock.c so userland
programs needs to follow that.

PR: 8179
1999-09-03 03:47:39 +00:00
itojun
9e2ce6114e tweak IPv6 case so that "route show" does not truncate numeric IPv6 address.
PR: 7955
1999-07-17 06:51:27 +00:00
itojun
d4aa58bc6c avoid using constants, use #define'd values. 1999-07-12 20:46:15 +00:00
itojun
d211125175 IPv6-ready route command (-inet6 and -prefixlen are added) 1999-07-02 15:29:02 +00:00
lukem
a9db50e608 * implement -f; flush all routes before executing command
* reset af to 0 in flushroutes() and newroute()
* cleanup -DSMALL:
-   `flush' and AF_APPLETALK is supported (the latter had partial support)
-   AF_NS, AF_ISO, and AF_CCITT are not supported at all (rather than being
-   partially unsupported).
1998-10-23 05:36:42 +00:00
mycroft
519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
kleink
5f9598407c Recognize AF_APPLETALK as "AppleTalk". 1997-12-01 17:03:24 +00:00
christos
e65e7d8dd2 Use {warn,err}{,x}(3) instead of printf's 1997-11-16 17:03:11 +00:00
lukem
c9d9a2a11e * cleanup for WARNS=1
* use .Nm correctly
* deprecate register
* getopt returns -1 not EOF
1997-09-15 09:15:26 +00:00
mrg
1dcbfad4c0 be safe with buffers. 1997-04-21 11:42:11 +00:00
christos
d9349e61e1 - Add netatalk bits
- Add prototypes
- Fix printf formats
1997-04-03 02:35:46 +00:00
gwr
a54521537f As discussed some time ago, add a "show" sub-command.
Also allow compilation with -DSMALL to ommit support for
non-essential protocols (i.e. when built into a ramdisk).
Use a less hack-ish way to generate keywords.[ch] and just
check in the result (helps ../../distrib/utils/x_route).
1996-11-15 18:01:36 +00:00