summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conntrack.c4
-rw-r--r--src/libct.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index f9df119..07d15f6 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -592,13 +592,13 @@ nat_parse(char *arg, int portok, struct ctnl_nat *range)
exit_error(PARAMETER_PROBLEM,
"Port `%s' not valid\n", dash+1);
if (maxport < port)
- // People are stupid.
+ /* People are stupid. */
exit_error(PARAMETER_PROBLEM,
"Port range `%s' funky\n", colon+1);
range->l4min.tcp.port = htons(port);
range->l4max.tcp.port = htons(maxport);
}
- // Starts with a colon? No IP info...
+ /* Starts with a colon? No IP info... */
if (colon == arg)
return;
*colon = '\0';
diff --git a/src/libct.c b/src/libct.c
index a3560d2..7c1160a 100644
--- a/src/libct.c
+++ b/src/libct.c
@@ -174,7 +174,6 @@ static int handler(struct sockaddr_nl *sock, struct nlmsghdr *nlh, void *arg)
memset(&ct, 0, sizeof(struct ctnl_conntrack));
nfmsg = NLMSG_DATA(nlh);
-// min_len = sizeof(struct nfgenmsg);
if (nlh->nlmsg_len < min_len)
return -EINVAL;