socket: fix debug message for unsupported binding
Fixes: 4ef944b734
("socket: add support for binding sockets to device")
Reported-by: Bryan Christianson <bryan@whatroute.net>
This commit is contained in:
parent
828e6ce30f
commit
c099aac79c
1 changed files with 1 additions and 1 deletions
2
socket.c
2
socket.c
|
@ -346,7 +346,7 @@ bind_device(int sock_fd, const char *iface)
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
#else
|
#else
|
||||||
DEBUG_LOG("Could not bind socket to %s : %s", "Not supported");
|
DEBUG_LOG("Could not bind socket to %s : %s", iface, "Not supported");
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue