]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of unused arguments to "dhcp6_print()".
authorguy <guy>
Tue, 18 Nov 2003 23:26:14 +0000 (23:26 +0000)
committerguy <guy>
Tue, 18 Nov 2003 23:26:14 +0000 (23:26 +0000)
interface.h
print-dhcp6.c
print-udp.c

index 404b9f7d5181a1514b08a9812f619e78f122c9b6..c2c1f5c36023b8738e14d80001ac1e10a2ad1702 100644 (file)
@@ -18,7 +18,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.217.2.1 2003-11-16 08:51:06 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.217.2.2 2003-11-18 23:26:14 guy Exp $ (LBL)
  */
 
 #ifndef tcpdump_interface_h
@@ -318,7 +318,7 @@ extern void icmp6_print(const u_char *, const u_char *, int);
 extern void ripng_print(const u_char *, unsigned int);
 extern int rt6_print(const u_char *, const u_char *);
 extern void ospf6_print(const u_char *, u_int);
-extern void dhcp6_print(const u_char *, u_int, u_int16_t, u_int16_t);
+extern void dhcp6_print(const u_char *, u_int);
 #endif /*INET6*/
 extern u_short in_cksum(const u_short *, register u_int, int);
 extern u_int16_t in_cksum_shouldbe(u_int16_t, u_int16_t);
index d37a23980e48e41e1977b9b39eace52d87562999..d55193206a7bdfd98ac9d1ba9331244c9bb361a2 100644 (file)
@@ -37,7 +37,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.27.2.3 2003-11-16 08:51:16 guy Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.27.2.4 2003-11-18 23:26:14 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -371,7 +371,7 @@ dhcp6opt_print(const u_char *cp, const u_char *ep)
                        break;
                case DH6OPT_RELAY_MSG:
                        printf(" (");
-                       dhcp6_print((const u_char *)(dh6o + 1), optlen, 0, 0);
+                       dhcp6_print((const u_char *)(dh6o + 1), optlen);
                        printf(")");
                        break;
                case DH6OPT_RAPID_COMMIT: /* nothing todo */
@@ -504,8 +504,7 @@ trunc:
  * Print dhcp6 packets
  */
 void
-dhcp6_print(const u_char *cp, u_int length,
-           u_int16_t sport, u_int16_t dport)
+dhcp6_print(const u_char *cp, u_int length)
 {
        struct dhcp6 *dh6;
        struct dhcp6_relay *dh6relay;
index d444d9ab422805fffdbaf55cc254c707da814633..9d36d77d2846faee31d72cc4af46cca51b954fec 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.124.2.2 2003-11-16 08:51:52 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.124.2.3 2003-11-18 23:26:15 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -654,8 +654,7 @@ udp_print(register const u_char *bp, u_int length,
                else if (ISPORT(RIPNG_PORT))
                        ripng_print((const u_char *)(up + 1), length);
                else if (ISPORT(DHCP6_SERV_PORT) || ISPORT(DHCP6_CLI_PORT)) {
-                       dhcp6_print((const u_char *)(up + 1), length,
-                               sport, dport);
+                       dhcp6_print((const u_char *)(up + 1), length);
                }
 #endif /*INET6*/
                /*