From: Roy Marples Date: Tue, 21 Jan 2014 17:13:42 +0000 (+0000) Subject: Report error from correct function. X-Git-Tag: v6.3.0~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c32c2b551aa65e5221a381268dadf6b9cd5004a;p=thirdparty%2Fdhcpcd.git Report error from correct function. --- diff --git a/dhcp.c b/dhcp.c index 7eb1665a..f9710bbc 100644 --- a/dhcp.c +++ b/dhcp.c @@ -1501,7 +1501,8 @@ send_message(struct interface *iface, int type, * As such we remove it from consideration without actually * stopping the interface. */ if (r == -1) { - syslog(LOG_ERR, "%s: send_raw_packet: %m", iface->name); + syslog(LOG_ERR, "%s: ipv4_sendrawpacket: %m", + iface->name); if (!(options & DHCPCD_TEST)) dhcp_drop(iface, "FAIL"); dhcp_close(iface);