diff options
author | Michael Taylor <mctaylor@mctaylor.com> | 2002-11-03 19:51:08 +0000 |
---|---|---|
committer | Michael Taylor <mctaylor@mctaylor.com> | 2002-11-03 19:51:08 +0000 |
commit | ea7e4dd48be0fd998e17aeb4849dc3fbe71f80da (patch) | |
tree | 5373cb83d4e781930a6c385b129d6b9b16d9810b /listen/listen.c | |
parent | 669434fdf20d437705b2d21a9c3b8fed991ef062 (diff) |
used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.c
Diffstat (limited to 'listen/listen.c')
-rw-r--r-- | listen/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/listen/listen.c b/listen/listen.c index be6dfbe..e28bb4e 100644 --- a/listen/listen.c +++ b/listen/listen.c @@ -122,7 +122,7 @@ int main(int argc, char **argv) } } - if ((s = socket(AF_PACKET, SOCK_PACKET, htons(proto))) == -1) { + if ((s = socket(PF_PACKET, SOCK_PACKET, htons(proto))) == -1) { perror("socket"); return 1; } |