1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

Merge from vendor branch.

This commit is contained in:
Garrett Wollman 1996-12-17 21:11:59 +00:00
parent a105b819c8
commit b8186907ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20609
2 changed files with 4 additions and 7 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)defs.h 8.1 (Berkeley) 6/5/93
* $Id: defs.h,v 1.4 1996/12/10 17:07:36 wollman Exp $
* $Id: defs.h,v 1.5 1996/12/11 21:04:08 wollman Exp $
*/
/* Definitions for RIPv2 routing process.
@ -72,6 +72,7 @@
#include <stdarg.h>
#include <syslog.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
@ -91,10 +92,6 @@
#define RIPVERSION RIPv2
#include <protocols/routed.h>
#ifdef sgi
#define USE_PASSIFNAME
#endif
/* Type of an IP address.
* Some systems do not like to pass structures, so do not use in_addr.

View File

@ -106,7 +106,7 @@ static u_int std_mask(u_int);
static int parse_quote(char **, char *, char *, char *, int);
int
void
main(int argc,
char *argv[])
{
@ -244,7 +244,7 @@ main(int argc,
if ((not_trace && trace) || argc == 0) {
usage: fprintf(stderr, "%s: [-np1v] [-r tgt_rt] [-w wtime]"
" [-a type=passwd] host1 [host2 ...]\n"
"or\t-t {on=filename|more|off|on=dump/../table}"
"or\t-t {on=filename|more|off|dump}"
" host1 [host2 ...]\n",
pgmname);
exit(1);