diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-09-24 17:57:44 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-09-24 17:57:44 +0000 |
commit | 53aff5a51af588ed1bdd94c9915fc610487c26c0 (patch) | |
tree | ba5a6871982e11f69eed6a2e55130677ca2b5a78 | |
parent | 1291bc274e547a6ba81fdc38baf563ccb7054064 (diff) | |
download | conntrack-tools-53aff5a51af588ed1bdd94c9915fc610487c26c0.tar.gz conntrack-tools-53aff5a51af588ed1bdd94c9915fc610487c26c0.zip |
get rid of c++ style comments
-rw-r--r-- | src/conntrack.c | 4 | ||||
-rw-r--r-- | src/libct.c | 1 |
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; |