From Kevin Steves: get rid of some extra blanks when printing flags.
authorguy <guy>
Sun, 14 Jan 2007 22:40:57 +0000 (22:40 +0000)
committerguy <guy>
Sun, 14 Jan 2007 22:40:57 +0000 (22:40 +0000)
print-bootp.c

index db8ee7dafb4c2e7546f473784d1c1e02f5e65c0c..ddf678b9e4b76dca2ad0edbc61f7e19b59cbc1c8 100644 (file)
@@ -22,7 +22,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.78.2.5 2007-01-14 21:29:53 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.78.2.6 2007-01-14 22:40:57 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -100,10 +100,10 @@ bootp_print(register const u_char *cp, u_int length)
        if (bp->bp_secs)
                printf(", secs %d", EXTRACT_16BITS(&bp->bp_secs));
 
-       printf(", Flags [ %s ]",
-              bittok2str(bootp_flag_values, "none", EXTRACT_16BITS(&bp->bp_flags)));
-       if (vflag>1)
-         printf( " (0x%04x)", EXTRACT_16BITS(&bp->bp_flags));
+       printf(", Flags [%s]",
+               bittok2str(bootp_flag_values, "none", EXTRACT_16BITS(&bp->bp_flags)));
+       if (vflag > 1)
+               printf(" (0x%04x)", EXTRACT_16BITS(&bp->bp_flags));
 
        /* Client's ip address */
        TCHECK(bp->bp_ciaddr);