--- x/docs/nmap-man.xml	2006-11-20 01:14:18.000000000 -0600
+++ y/docs/nmap-man.xml	2006-11-21 14:58:27.000000000 -0600
@@ -3310,6 +3310,14 @@ overwhelming requests.  Specify <option>
       </varlistentry>
       <varlistentry>
         <term>
+          <option>b</option> / <option>B</option>
+        </term>
+        <listitem>
+          <para>Turn on / off sending packets with bogus TCP/UDP checksum</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
           <option>?</option>
         </term>
         <listitem>

--- x/nmap_tty.cc	2006-08-24 20:47:37.000000000 -0500
+++ y/nmap_tty.cc	2006-11-21 14:58:27.000000000 -0600
@@ -251,6 +251,12 @@ bool keyWasPressed()
     } else if (c == 'P') {
        o.setPacketTrace(false);
        log_write(LOG_STDOUT, "Packet Tracing disabled.\n");
+    } else if (c == 'b') {
+       o.badsum = 1;
+       log_write(LOG_STDOUT, "Sending packets with bogus TCP/UDP checksum.\n");
+    } else if (c == 'B') {
+       o.badsum = 0;
+       log_write(LOG_STDOUT, "Sending packets with correct TCP/UDP checksum.\n");
     } else if (c == '?') {
       log_write(LOG_STDOUT,
 		"Interactive keyboard commands:\n"
@@ -258,6 +264,7 @@ bool keyWasPressed()
 		"v/V             Increase/decrease verbosity\n"
 		"d/D             Increase/decrease debugging\n"
 		"p/P             Enable/disable packet tracing\n"
+		"b/B             Enable/disable sending packets with bogus TCP/UDP checksum\n"
 		"anything else   Print status\n"
                 "More help: http://www.insecure.org/nmap/man/man-runtime-interaction.html\n");
     } else {
