diff options
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; } |