summaryrefslogtreecommitdiffstats
path: root/listen
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 /listen
parent669434fdf20d437705b2d21a9c3b8fed991ef062 (diff)
used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.c
Diffstat (limited to 'listen')
-rw-r--r--listen/listen.c2
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;
}