diff options
Diffstat (limited to 'netrom/netromd.c')
-rw-r--r-- | netrom/netromd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netrom/netromd.c b/netrom/netromd.c index fa80ad3..7bfa97b 100644 --- a/netrom/netromd.c +++ b/netrom/netromd.c @@ -213,7 +213,7 @@ int main(int argc, char **argv) ax25_aton_entry(nr_config_get_addr(NULL), (char *)&my_call); ax25_aton_entry("NODES", (char *)&node_call); - 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("netromd: socket"); return 1; } |