From: Ted Lemon Date: Thu, 16 May 1996 07:53:29 +0000 (+0000) Subject: Don't log the fact that a packet has arrived X-Git-Tag: BETA-2~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ed2d7cf93f5be371940dee2bebf24db3974381;p=thirdparty%2Fdhcp.git Don't log the fact that a packet has arrived --- diff --git a/common/dispatch.c b/common/dispatch.c index fd993073a..e7a843673 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -142,8 +142,8 @@ void discover_interfaces () if (!strcmp (iface -> name, lp -> name)) { note ("%s: %s", lp -> name, print_hw_addr - (lp -> address.hlen, - lp -> address.htype, + (lp -> address.htype, + lp -> address.hlen, lp -> address.haddr)); iface -> hw_address = lp -> address; } @@ -278,9 +278,7 @@ static void got_one (l) } if (result == 0) return; - note ("request from %s, port %d", - inet_ntoa (from.sin_addr), - htons (from.sin_port)); + ifrom.len = 4; memcpy (ifrom.iabuf, &from.sin_addr, ifrom.len); diff --git a/dispatch.c b/dispatch.c index fd993073a..e7a843673 100644 --- a/dispatch.c +++ b/dispatch.c @@ -142,8 +142,8 @@ void discover_interfaces () if (!strcmp (iface -> name, lp -> name)) { note ("%s: %s", lp -> name, print_hw_addr - (lp -> address.hlen, - lp -> address.htype, + (lp -> address.htype, + lp -> address.hlen, lp -> address.haddr)); iface -> hw_address = lp -> address; } @@ -278,9 +278,7 @@ static void got_one (l) } if (result == 0) return; - note ("request from %s, port %d", - inet_ntoa (from.sin_addr), - htons (from.sin_port)); + ifrom.len = 4; memcpy (ifrom.iabuf, &from.sin_addr, ifrom.len);