changeset 2239:56bc0ef21488 draft

Report error from correct function.
author Roy Marples <roy@marples.name>
date Tue, 21 Jan 2014 17:13:42 +0000
parents a9b2a3826495
children dff627d2c083
files dhcp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dhcp.c	Tue Jan 21 16:30:39 2014 +0000
+++ b/dhcp.c	Tue Jan 21 17:13:42 2014 +0000
@@ -1501,7 +1501,8 @@
 		 * 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);