]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ntp.c
Add length checks.
[tcpdump] / print-ntp.c
index 5de5a875f968c4dc1f6e9188a845db803abaaa9a..e5cf072046772bd1d9712c8b911666e55f0c20b2 100644 (file)
  *     loosely based on print-bootp.c
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.37.2.2 2003-11-16 08:51:36 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 #ifdef MODEMASK
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.38 2003-11-15 00:39:33 guy Exp $ (LBL)";
-#endif
 #undef MODEMASK                                        /* Solaris sucks */
 #endif
 #include "ntp.h"