patch-1.3.76 linux/net/ipv4/ip_fw.c

Next file: linux/scripts/Menuconfig
Previous file: linux/mm/kmalloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.75/linux/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c
@@ -444,14 +444,16 @@
 			if(opt != 1) {
 				if(f->fw_flg&IP_FW_F_ACCEPT) {
 					if(f->fw_flg&IP_FW_F_MASQ)
-						printk("Masquerade ");
+						printk("masq ");
 					else
-						printk("Accept ");
+						printk("acc  ");
 				} else if(f->fw_flg&IP_FW_F_ICMPRPL)
-					printk("Reject ");
+					printk("rej  ");
 				else
-					printk("Deny ");
+					printk("deny ");
 			}
+			if (rif)
+				printk("%s ", rif->name);
 			switch(ip->protocol)
 			{
 				case IPPROTO_TCP:
@@ -459,6 +461,7 @@
 					break;
 				case IPPROTO_UDP:
 					printk("UDP ");
+					break;
 				case IPPROTO_ICMP:
 					printk("ICMP:%d ", icmp_type);
 					break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this