X-Git-Url: http://git.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=interface.c;h=f9fe40a5fc5d877f7851e29b48242667679fddc0;hp=ada8acb1bf18769a470a497ef91e8b057753c327;hb=0d545ed7287026584722a3f9aa855c29bd24d59f;hpb=61f6854cea03e9e170720134713a7c18165ac6df diff --git a/interface.c b/interface.c index ada8acb..f9fe40a 100644 --- a/interface.c +++ b/interface.c @@ -125,6 +125,7 @@ interface_send_packet(struct interface *iface, struct sockaddr *to, struct iovec { if (!iface->multicast && !to) { fprintf(stderr, "No IP address specified for unicast interface\n"); + errno = EINVAL; return -1; }