[PATCH 22/34] Fix description and indenting.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric leblond <eric@xxxxxx>

Signed-off-by: Eric leblond <eric@xxxxxx>
---
:100644 100644 68a4ed7... 8a67cbe... M	filter/ulogd_filter_IP2STR.c
 filter/ulogd_filter_IP2STR.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/filter/ulogd_filter_IP2STR.c b/filter/ulogd_filter_IP2STR.c
index 68a4ed7..8a67cbe 100644
--- a/filter/ulogd_filter_IP2STR.c
+++ b/filter/ulogd_filter_IP2STR.c
@@ -1,6 +1,6 @@
 /* ulogd_filter_IP2STR.c, Version $Revision: 1500 $
  *
- * ulogd interpreter plugin for ifindex to ifname conversion
+ * ulogd interpreter plugin for internal IP storage format to string conversion
  *
  * (C) 2008 by Eric Leblond <eric@xxxxxx>
  *
@@ -119,7 +119,6 @@ static struct ulogd_key ip2str_keys[] = {
 #define GET_FLAGS(res, x)	(res[x].u.source->flags)
 #define pp_is_valid(res, x)	(res[x].u.source && (GET_FLAGS(res, x) & ULOGD_RETF_VALID))
 
-
 static char *ip2str(struct ulogd_key* inp, int index, char family)
 {
 	char tmp[IPADDR_LENGTH];
@@ -152,8 +151,7 @@ static int interp_ip2str(struct ulogd_pluginstance *pi)
 	/* Iter on all addr fields */
 	for(i = START_KEY; i < MAX_KEY; i++) {
 		if (pp_is_valid(inp, i)) {
-			ret[i-1].u.value.ptr = ip2str(inp, i,
-						      oob_family);
+			ret[i-1].u.value.ptr = ip2str(inp, i, oob_family);
 			ret[i-1].flags |= ULOGD_RETF_VALID;
 		}
 	}
-- 
1.5.2.5

-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux