]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't log the fact that a packet has arrived
authorTed Lemon <source@isc.org>
Thu, 16 May 1996 07:53:29 +0000 (07:53 +0000)
committerTed Lemon <source@isc.org>
Thu, 16 May 1996 07:53:29 +0000 (07:53 +0000)
common/dispatch.c
dispatch.c

index fd993073a93d1cdb0f1163072ed418fb176acab4..e7a84367395fc4336fa625438257dbcf2a8d4e81 100644 (file)
@@ -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);
        
index fd993073a93d1cdb0f1163072ed418fb176acab4..e7a84367395fc4336fa625438257dbcf2a8d4e81 100644 (file)
@@ -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);