File: 06_spelling_errors.diff

package info (click to toggle)
ipband 0.8.1-5.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 452 kB
  • sloc: ansic: 4,377; makefile: 118; sh: 108
file content (46 lines) | stat: -rw-r--r-- 3,386 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Spelling mistakes.
 Located by lintian.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: no
Last-Update: 2016-12-05

--- ipband-0.8.1/init.c.debian	2015-07-06 20:31:40.733482773 +0200
+++ ipband-0.8.1/init.c	2016-12-05 23:21:11.317580122 +0100
@@ -36,7 +36,7 @@ void print_usage(void) {
    printf("  -c filename   -  Read configuration file. Default is ");
    printf(                   "/etc/ipband.conf.\n");
    printf("  -C            -  Ignore configuration file\n");
-   printf("  -d level      -  Debug level: 0 - no debuging; 1 - summary;\n");
+   printf("  -d level      -  Debug level: 0 - no debugging; 1 - summary;\n");
    printf("                   2 - subnet stats; 3 - all packets captured.\n");
    printf("  -f filterstr  -  Use pcap filters (see tcpdump).\n");
    printf("  -F            -  Fork and run in background.\n");
@@ -188,7 +188,7 @@ printf("\tDebug level: %d\n",debug_m);
 printf("\tPromiscuous mode: %s\n",promisc_m?"yes":"no");
 printf("\tConfiguration file: %s\n",config_m);
 printf("\tAveraging period (sec): %d\n",cycle_m);
-printf("\tReporting peroid (sec): %d\n",rcycle_m);
+printf("\tReporting period (sec): %d\n",rcycle_m);
 printf("\tBandwidth threshold (kBps): %g\n",thresh_m);
 printf("\tPcap filter string: %s\n",filtercmd_m);
 printf("\tSubnet mask bits: %d\n",mask_m);
--- ipband-0.8.1.orig/ipband.8	2015-07-06 20:24:08.000000000 +0200
+++ ipband-0.8.1/ipband.8	2016-12-05 23:16:58.487010889 +0100
@@ -43,7 +43,7 @@ Ignore configuration file.
 
 .TP 
 .B "\-d \fIlevel\fR"
-Debug level. 0 \- no debuging; 1 \- summary; 2 \- subnet statistics; 3 \- all packets captured. Default is 0.
+Debug level. 0 \- no debugging; 1 \- summary; 2 \- subnet statistics; 3 \- all packets captured. Default is 0.
 
 .TP 
 .B "\-f \fIfilterstr\fR"
@@ -70,7 +70,7 @@ If \-M (or \fBmailto\fR directive in con
 This option specifies which network numbers should be considered local when collecting data and generating reports (actually non\-local networks are not logged at all). It can be used instead of config file's multiple "subnet" directives (unlike that directive, there would be a single bandwidth threshold specified by \-b option). This option can be used for monitoring internet connections when you don't want to get reports on someone else's networks.
 
 There can be many ip\-ranges separate by colons.  No spaces may appear in the argument.  Each ip\-range can be either a single ip address such as 192.168.1.1 which indicates a range of one, 
-a partial ip address such as 192.168.1.0 which indicates a range from 192.168.1.0 to 192.168.1.255, a low and high ip address separated by a hypen (\-), and a single ip address, a slash (/) and an integer between 0 and 32 (a "net address") which indicates a network. If you run ipband with the debug option (\-d) the program will print the entire list of ip ranges, so you can check their values.
+a partial ip address such as 192.168.1.0 which indicates a range from 192.168.1.0 to 192.168.1.255, a low and high ip address separated by a hyphen (\-), and a single ip address, a slash (/) and an integer between 0 and 32 (a "net address") which indicates a network. If you run ipband with the debug option (\-d) the program will print the entire list of ip ranges, so you can check their values.
 
 Here is a list of arguments to \-L along with the corresponding range.