From aa112083f850e1b6c5c6ed9c9e59a568ff66a000 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 8 Jul 1999 06:46:27 +0200 Subject: Import ax25-apps 0.0.2 from tarball --- listen/listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'listen/listen.c') 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; } -- cgit v1.2.3