diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-20 19:34:58 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-20 19:34:58 +0200 |
commit | ab51ac11e68ce0b075688bf17fc89e0ba645b2ed (patch) | |
tree | 9e029febdc64a52a33c5611a15ad86d247e19a78 /igmp.c | |
parent | 0721128bcce0790663e1491d8684edaf918874b6 (diff) |
Add new assert macros, convert server.c to use them
Diffstat (limited to 'igmp.c')
-rw-r--r-- | igmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -513,9 +513,9 @@ igmp_init(struct cfg *cfg) sfd = socket(AF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC, htons(ETH_P_ALL)); if (sfd < 0) { if (errno == EACCES || errno == EPERM) - error("permission denied"); + info("Unable to do IGMP snooping, permission denied"); else - error("%mn"); + error("socket: %m"); goto error; } |