Commit 2ced1d8a authored by Vladimir Vitkov's avatar Vladimir Vitkov
Browse files

Preliminary fixes for debianisation

 * fix spelling errors to make lintian happy
parent 2b3f6252
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ masscan <ip addresses/ranges> \-p \fIports\fR \fIoptions\fR
\fB\-\-rotate <time>\fR: rotates the output file, renaming it with the current timestamp, moving it to a separate directory\. The time is specified in number of seconds, like "3600" for an hour\. Or, units of time can be specified, such as "hourly", or "6hours", or "10min"\. Times are aligned on an even boundary, so if "daily" is specified, then the file will be rotated every day at midnight\.
.
.IP "\(bu" 4
\fB\-\-rotate\-offset <time>\fR: an offset in the time\. This is to accomodate timezones\.
\fB\-\-rotate\-offset <time>\fR: an offset in the time\. This is to accommodate timezones\.
.
.IP "\(bu" 4
\fB\-\-rotate\-dir <directory>\fR: when rotating the file, this specifies which directory to move the file to\. A useful directory is \fB/var/log/masscan\fR\.
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ static int read_netlink(int fd, char *bufPtr, size_t sizeof_buffer, int seqNum,
        /* Check if the header is valid */
        if ((NLMSG_OK(nlHdr, readLen) == 0)
            || (nlHdr->nlmsg_type == NLMSG_ERROR)) {
            perror("Error in recieved packet");
            perror("Error in receeved packet");
            return -1;
        }

+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@ read_netlink(int fd, char *bufPtr, size_t sizeof_buffer, int seqNum, int pId)
        /* Check if the header is valid */
        if ((NLMSG_OK(nlHdr, readLen) == 0)
            || (nlHdr->nlmsg_type == NLMSG_ERROR)) {
            perror("Error in recieved packet");
            perror("Error in received packet");
            return -1;
        }

+1 −1
Original line number Diff line number Diff line
@@ -719,7 +719,7 @@ rawsock_init_adapter(const char *adapter_name,
                adapter->ring = 0;
                return 0;
        } else
            LOG(1, "pfring:'%s': succesfully eenabled\n", adapter_name);
            LOG(1, "pfring:'%s': successfully eenabled\n", adapter_name);

        return adapter;
    }