From: <ja...@pr...> - 2004-01-30 23:20:34
|
Update of /cvsroot/iptables-p2p/iptables-p2p/iptables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1831 Modified Files: libipt_p2p.c Log Message: formatting Index: libipt_p2p.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/iptables/libipt_p2p.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- libipt_p2p.c 19 Dec 2003 16:29:21 -0000 1.6 +++ libipt_p2p.c 30 Jan 2004 23:18:58 -0000 1.7 @@ -66,7 +66,7 @@ static struct option opts[] = { { "p2p-protocol", 1, NULL, 'P' }, - { "p2p", 1, NULL, 'P' }, /* synonym */ + { "p2p", 1, NULL, 'P' }, /* Synonym. */ { NULL } }; @@ -127,7 +127,7 @@ /* First check if they specified an integer constant. */ constant = strtoul(arg, &argend, 0); - /* Require that strtoul() slurp up the entire argument to succeed */ + /* Require that strtoul() slurp up the entire argument to succeed. */ if (argend[0] == '\0') { /* Successfully matched an integer constant. */ @@ -136,7 +136,7 @@ } else { - /* Try to match a protocol literal */ + /* Try to match a protocol literal. */ for (i = 0; i < PROTOMAP_NELEM; i++) { if (strcasecmp(protomap[i].name, arg) == 0) @@ -181,7 +181,7 @@ strncpy(buf, arg, protolen); buf[protolen] = '\0'; - /* Handle a single parameter */ + /* Handle a single parameter. */ if (invert) protoret &= ~(arg_to_proto(buf)); else @@ -244,7 +244,7 @@ /* Final check; must have specified --mac. */ static void final_check(unsigned int flags) { - /* Do nothing */ + /* Do nothing. */ } static void print(const struct ipt_ip *ip, const struct ipt_entry_match *m, |