changeset 4569:5de548eda5ae draft

Change prior to be non-fatal
author Roy Marples <roy@marples.name>
date Tue, 23 Jul 2019 14:33:14 +0100
parents 63aea27dd3bc
children 6baf24a8cc49
files src/if-linux.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/if-linux.c	Tue Jul 23 14:31:07 2019 +0100
+++ b/src/if-linux.c	Tue Jul 23 14:33:14 2019 +0100
@@ -322,7 +322,7 @@
 #ifdef NETLINK_BROADCAST_ERROR
 	if (setsockopt(ctx->link_fd, SOL_NETLINK, NETLINK_BROADCAST_ERROR,
 	    &on, sizeof(on)) == -1)
-		return -1;
+		logerr("%s: NETLINK_BROADCAST_ERROR", __func__);
 #endif
 
 	if ((priv = calloc(1, sizeof(*priv))) == NULL)