]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ospf6.c
More UNALIGNED_MEM{CPY,CMP} on IP addresses.
[tcpdump] / print-ospf6.c
index 38c2f13bd49bad82230b0c3c30bc5abd70fd16b2..98352cbd1dbf6302874b24d64b6d5963363f5cf9 100644 (file)
  * OSPF support contributed by Jeffrey Honig ([email protected])
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf6.c,v 1.15 2006-09-13 06:31:11 guy Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -516,7 +511,7 @@ ospf6_print_lsa(register const struct lsa6 *lsap, const u_char *dataend)
                                        "\n\t      Neighbor Interface-ID %s, Interface %s",
                                        ipaddr_string(&rlp->link_nrtid),
                                        ipaddr_string(&rlp->link_nifid),
-                                       ipaddr_string(&rlp->link_ifid)); 
+                                       ipaddr_string(&rlp->link_ifid));
                                 break;
 
                        case RLA_TYPE_ROUTER:
@@ -524,7 +519,7 @@ ospf6_print_lsa(register const struct lsa6 *lsap, const u_char *dataend)
                                        "\n\t      Neighbor Interface-ID %s, Interface %s",
                                        ipaddr_string(&rlp->link_nrtid),
                                        ipaddr_string(&rlp->link_nifid),
-                                       ipaddr_string(&rlp->link_ifid)); 
+                                       ipaddr_string(&rlp->link_ifid));
                                break;
 
                        case RLA_TYPE_TRANSIT:
@@ -710,7 +705,7 @@ ospf6_print_lsa(register const struct lsa6 *lsap, const u_char *dataend)
                 break;
 
        default:
-                if(!print_unknown_data(tptr,
+                if(!print_unknown_data(gndo,tptr,
                                        "\n\t      ",
                                        lsa_length)) {
                     return (1);
@@ -905,7 +900,7 @@ ospf6_decode_at(const u_char *cp, const u_int len)
        /* Authentication Data */
        TCHECK2(*cp, authdatalen - OSPF6_AT_HDRLEN);
        if (vflag > 1)
-               print_unknown_data(cp, "\n\tAuthentication Data ", authdatalen - OSPF6_AT_HDRLEN);
+               print_unknown_data(gndo,cp, "\n\tAuthentication Data ", authdatalen - OSPF6_AT_HDRLEN);
        return 0;
 
 trunc: