summaryrefslogtreecommitdiffstats
path: root/ax25rtd/ax25rtd.c
diff options
context:
space:
mode:
authorMichael Taylor <mctaylor@mctaylor.com>2002-11-03 19:51:08 +0000
committerMichael Taylor <mctaylor@mctaylor.com>2002-11-03 19:51:08 +0000
commitea7e4dd48be0fd998e17aeb4849dc3fbe71f80da (patch)
tree5373cb83d4e781930a6c385b129d6b9b16d9810b /ax25rtd/ax25rtd.c
parent669434fdf20d437705b2d21a9c3b8fed991ef062 (diff)
used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.c
Diffstat (limited to 'ax25rtd/ax25rtd.c')
-rw-r--r--ax25rtd/ax25rtd.c6
1 files changed, 3 insertions, 3 deletions
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;
}