From ea7e4dd48be0fd998e17aeb4849dc3fbe71f80da Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Sun, 3 Nov 2002 19:51:08 +0000 Subject: used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.c --- ax25rtd/ax25rtd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ax25rtd') diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c index 9351fef..dbdc0b2 100644 --- a/ax25rtd/ax25rtd.c +++ b/ax25rtd/ax25rtd.c @@ -1,4 +1,4 @@ -/* $Id: ax25rtd.c,v 1.3 2002/03/04 01:43:49 csmall Exp $ +/* $Id: ax25rtd.c,v 1.4 2002/11/03 19:51:08 mctaylor Exp $ * * Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com) * @@ -66,7 +66,7 @@ #include "../pathnames.h" #include "ax25rtd.h" -const char *Version = "ax25rtd $Revision: 1.3 $"; +const char *Version = "ax25rtd $Revision: 1.4 $"; config *Config = NULL; int reload = 0; @@ -153,7 +153,7 @@ int main(int argc, char **argv) if (fork()) return 0; - if ((s = socket(AF_INET, SOCK_PACKET, htons(ETH_P_AX25))) == -1) { + if ((s = socket(PF_PACKET, SOCK_PACKET, htons(ETH_P_AX25))) == -1) { perror("AX.25 socket"); return 1; } -- cgit v1.2.3