diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-07-08 06:46:27 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-07-08 06:46:27 +0200 |
commit | aa112083f850e1b6c5c6ed9c9e59a568ff66a000 (patch) | |
tree | 502aef09a8016112f1e094a07d68d545ac65b80f /listen | |
parent | 0fceb64d25ff3d9586549bb43d971c5eef904330 (diff) |
Import ax25-apps 0.0.2 from tarballax25-apps-0.0.2
Diffstat (limited to 'listen')
-rw-r--r-- | listen/Makefile.in | 14 | ||||
-rw-r--r-- | listen/listen.c | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/listen/Makefile.in b/listen/Makefile.in index 4cf3c1a..acf7fba 100644 --- a/listen/Makefile.in +++ b/listen/Makefile.in @@ -281,20 +281,6 @@ distdir: $(DISTFILES) || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -arpdump.o: arpdump.c listen.h -ax25dump.o: ax25dump.c listen.h -flexnetdump.o: flexnetdump.c listen.h -icmpdump.o: icmpdump.c listen.h -ipdump.o: ipdump.c listen.h -kissdump.o: kissdump.c listen.h -listen.o: listen.c ../config.h listen.h -nrdump.o: nrdump.c listen.h -ripdump.o: ripdump.c listen.h -rosedump.o: rosedump.c listen.h -rspfdump.o: rspfdump.c listen.h -tcpdump.o: tcpdump.c listen.h -udpdump.o: udpdump.c listen.h -utils.o: utils.c listen.h info-am: info: info-am diff --git a/listen/listen.c b/listen/listen.c index df6f770..b75b29c 100644 --- a/listen/listen.c +++ b/listen/listen.c @@ -109,7 +109,7 @@ int main(int argc, char **argv) } } - if ((s = socket(AF_INET, SOCK_PACKET, htons(proto))) == -1) { + if ((s = socket(AF_PACKET, SOCK_PACKET, htons(proto))) == -1) { perror("socket"); return 1; } |