Commit Graph

29 Commits

Author SHA1 Message Date
itojun efb986d740 sprintf can return negative 2003-07-12 14:36:07 +00:00
itojun 16435cdb98 strcpy/sprintf cleanup. from openbsd 2003-04-21 08:54:42 +00:00
christos f93fe60ac0 sync with routed 2.27 2002-11-30 04:04:23 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
christos 4fea751ddc sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks.  Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.
2001-03-10 23:52:45 +00:00
christos a221b1ba72 portability casts and re-indentation of some code. 2000-03-02 21:02:01 +00:00
christos 756b1291db Resolve conflicts. 1999-02-23 10:47:39 +00:00
christos 94b2d42842 Update to 980910 from ftp.rhyolite.com 1998-10-25 14:56:06 +00:00
thorpej 6d8ef4df7c Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).

From Vern Schryver <vjs@rhyolite.com>
1998-06-02 18:02:55 +00:00
mycroft b247da14fe Use S_IS*(), not S_IF*. 1997-10-19 18:17:27 +00:00
mrg 52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00
lukem 13992bec12 use memmove, memcmp, memset instead of bcopy, bcmp, bzero 1997-09-15 11:51:54 +00:00
lukem 3f50343aa8 * cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm
1997-09-15 10:38:11 +00:00
christos e7512e5a5e - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
1997-02-03 22:02:51 +00:00
christos 4d3fba5988 - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
1996-09-24 16:24:12 +00:00
thorpej fc1a524603 - Finished up merge.
- Add some prototypes and definitions for types as necessary,
  wrapped in __NetBSD__ to maintain portability.

- Explicit size types in structures that go out the wire.

- RCS id police.
1996-08-10 01:28:58 +00:00
christos 4841cf2927 - Support rip version 2.
- Add ansi prototypes.
- Be less internet centric.
- Convert queues to use <sys/queue.h> so we don't need -lcompat
1995-06-20 22:25:51 +00:00
jtc 470a6be999 <sys/errno.h> -> <errno.h>
<sys/signal.h> -> <signal.h>
<sys/syslog.h> -> <syslog.h>
1995-05-28 05:37:32 +00:00
cgd 2fe1f93ac5 fix arguments to tracing functions and/or cast, to avoid warnings. 1995-04-24 13:24:30 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft 705a6ebacb Use S_IS*(). 1995-01-30 19:39:36 +00:00
cgd ae9481b5c5 kill some redundant includes. 1994-12-23 13:13:06 +00:00
cgd e072e2ae63 some -Wall changes, from Jim Jegers, improved (in some cases) by me.
still needs a bit of work, but closer.
1994-12-18 05:43:48 +00:00
mycroft ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft 4c8599d370 Clean up import. 1994-05-13 08:02:16 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00