Skip to contentSkip to conversation

coding style

PATCH New Ozgur AKAN 1 participant 1 message Apr 22, 2004 netfilter

lore
Share & tools
lore

Ozgur AKAN

author
#0 lore raw

PATCH 1/1 coding style

A minor patch for better code style in iptables-save.c.

Signature · 1 line
Ozgur Akan
iptables-save.c +3 -3
@@ -150,9 +150,9 @@ static void print_ip(char *prefix, u_int
 		IP_PARTS(ip));
 
 	if (mask != 0xffffffff) 
-		printf("/%u.%u.%u.%u ", IP_PARTS(mask));
-	else
-		printf(" ");
+		printf("/%u.%u.%u.%u", IP_PARTS(mask));
+	
+	printf(" ");
 }
 
 /* We want this to be readable, so only print out neccessary fields.