#! /bin/sh /usr/share/dpatch/dpatch-run
## 02-fixmanpages.dpatch by William Vera <billy@billy.com.mx>
##
## DP: Format corrections on the man pages.

@DPATCH@
diff -urNad sniffit-0.3.7.beta~/sniffit.5 sniffit-0.3.7.beta/sniffit.5
--- sniffit-0.3.7.beta~/sniffit.5	2009-06-11 13:20:37.000000000 -0500
+++ sniffit-0.3.7.beta/sniffit.5	2009-06-11 13:20:38.000000000 -0500
@@ -13,7 +13,7 @@
 be processed by 
 .B sniffit.  
 This file also controls (or will control) some functions for the 
-continuous logging ('-L' option).
+continuous logging ('\-L' option).
 .LP
 A 
 .B sniffit 
@@ -22,7 +22,7 @@
 .nf
 # Sniffit Sample Config file -- Brecht Claerhout
 
-logfile /var/adm/sniffit.today.log
+logfile /var/log/sniffit.today.log
 
 # First select all packets!
 select both mhosts 1
diff -urNad sniffit-0.3.7.beta~/sniffit.8 sniffit-0.3.7.beta/sniffit.8
--- sniffit-0.3.7.beta~/sniffit.8	2009-06-11 13:20:37.000000000 -0500
+++ sniffit-0.3.7.beta/sniffit.8	2009-06-11 13:20:53.000000000 -0500
@@ -76,16 +76,16 @@
 
 .IP "-t Target-IP"
 Only process packets TO Target-IP. If Target-IP is in dot-nr notation, 
-\'x' is allowed as wildcard. (e.g. '-t 157.193.x', '-t x', ...)
+\'x' is allowed as wildcard. (e.g. '\-t 157.193.x', '\-t x', ...)
 .I "(NOT compatible with: '-s' '-i' '-I' '-c' '-v' '-L')"
 
 .IP "-s Source-IP"
-Similar to '-t', only process packets FROM Source-IP.
+Similar to '\-t', only process packets FROM Source-IP.
 .I "(NOT compatible with: '-t' '-i' '-I' '-c' '-v' '-L')"
 
 .IP -b
-\'both' mode, together with '-s' or '-t', only process FROM/TO the IP 
-specified by '-s' or '-t' 
+\'both' mode, together with '\-s' or '\-t', only process FROM/TO the IP 
+specified by '\-s' or '\-t' 
 .I "(NOT compatible with: '-t' '-i' '-I' '-c' '-v' '-L')"
 
 .IP "-c config-file"
@@ -104,18 +104,18 @@
 and
 .B README.FIRST
 )
-(one of the options '-t' '-s' '-i' '-I' '-c' is required)
+(one of the options '\-t' '\-s' '\-i' '\-I' '\-c' is required)
 .I "(NOT compatible with: '-t' '-s' '-c' '-v' '-L')"
 
 .IP -I
-Same as '-i', but gives you more information.
-(one of the options '-t' '-s' '-i' '-I' '-c' is required)
+Same as '\-i', but gives you more information.
+(one of the options '\-t' '\-s' '\-i' '\-I' '\-c' is required)
 .I "(NOT compatible with: '-t' '-s' '-c' '-v' '-L')"
 
 .IP "-R <file>"
 Record all traffic in 
 .I <file>
-This file can then be fed to Sniffit with the '-r' option.
+This file can then be fed to Sniffit with the '\-r' option.
 .I "(Needs a selection parameter like '-c' '-t' '-s')"
 .I "(NOT compatible with '-i' '-I' '-v' '-L' '-r')"
 
@@ -123,11 +123,11 @@
 This option feeds the recorded 
 .I <file> to 
 .B sniffit.
-It requires the '-F' option with the correct device. Suppose you log a file 
+It requires the '\-F' option with the correct device. Suppose you log a file 
 on a machine with 'eth0'. When feeding the logged file to 
 .B sniffit
-, you will need to add '-F eth0' or '-F eth' to the command line. It doesn't 
-need much explanation that using '-i' or '-I' in combination with '-r' makes 
+, you will need to add '\-F eth0' or '\-F eth' to the command line. It doesn't 
+need much explanation that using '\-i' or '\-I' in combination with '\-r' makes 
 no sense (at this moment).
 .I "(requires '-F', NOT compatible with '-R' '-i' '-I')"
 
@@ -154,9 +154,9 @@
 .I "(NOT compatible with: '-i' 'I' '-v' '-L')"
 
 .IP -a
-\'dump mode', same of '-d' but outputs ASCII. Non printable chars are 
+\'dump mode', same of '\-d' but outputs ASCII. Non printable chars are 
 replaced by '.'.
-('-d' and '-a' mix without any problem)
+('\-d' and '\-a' mix without any problem)
 .I "(NOT compatible with: '-i' '-I' '-v' '-L')"
 
 .IP "-P proto"
@@ -169,7 +169,7 @@
 .I "(NOT compatible with: '-i' '-I' '-v' '-L')"
 
 .IP "-A char"
-When in 'normal mode' (not '-d','-a','-i','-I','-L'), all non-printable chars 
+When in 'normal mode' (not '\-d','\-a','\-i','\-I','\-L'), all non-printable chars 
 will be replaced by 
 .I char
 .I "(NOT compatible with: '-a' '-d' '-i' '-I' '-v' '-L')"
@@ -271,7 +271,7 @@
 Same as F5 or '5', but with program 'sniffit_key8'
 .IP "ENTER"
 a window will pop up and log the connection, or the connection output 
-will be send at a chosen device if you used the '-D' option.
+will be send at a chosen device if you used the '\-D' option.
 .IP "'q'"
 When in logging mode, stop logging. Otherwise, quit.
 .IP "'n'"
@@ -319,7 +319,7 @@
 .SH "IP ICMP UDP LOGGING"
 Information on these packets is dumped to stdout. Packet 
 Filtering options only refer to TCP and UDP packets.
-The contents of UDP packets is only shown when enabling '-a' or '-d'.  
+The contents of UDP packets is only shown when enabling '\-a' or '\-d'.  
 
 .SH AUTHOR
 Brecht Claerhout <coder@reptile.rug.ac.be>
