diff options
author | Michael Taylor <mctaylor@mctaylor.com> | 2002-11-03 19:51:10 +0000 |
---|---|---|
committer | Michael Taylor <mctaylor@mctaylor.com> | 2002-11-03 19:51:10 +0000 |
commit | c52cae4e44c0b53ece5f3bd55cb6777239223cdb (patch) | |
tree | b9578e8d0219c8f156fe108f5d2bf9994127a188 /ax25/rxecho.c | |
parent | 1aedd6aa05b95a9ddea6ee7fc2693a2e861f7d9b (diff) |
used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.c
Diffstat (limited to 'ax25/rxecho.c')
-rw-r--r-- | ax25/rxecho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/rxecho.c b/ax25/rxecho.c index 0dd601f..a9f9a64 100644 --- a/ax25/rxecho.c +++ b/ax25/rxecho.c @@ -350,7 +350,7 @@ int main(int argc, char **argv) if ((list = readconfig()) == NULL) return 1; - 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("rxecho: socket:"); return 1; } |