From c7c4816d4eee91cc67d9381a182c4255757b76f6 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 23 Jun 2002 09:07:07 +0000 Subject: *** empty log message *** --- extensions/ebt_vlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions') diff --git a/extensions/ebt_vlan.c b/extensions/ebt_vlan.c index 06708da..05ee992 100644 --- a/extensions/ebt_vlan.c +++ b/extensions/ebt_vlan.c @@ -217,7 +217,7 @@ print (const struct ebt_u_entry *entry, * Print VLAN ID if they are specified */ if (vlaninfo->bitmask & EBT_VLAN_ID) { - printf ("--vlan-id %s %d, ", + printf ("--vlan-id %s %d ", vlaninfo->invflags & EBT_VLAN_ID ? "!" : "", vlaninfo->id); } @@ -225,7 +225,7 @@ print (const struct ebt_u_entry *entry, * Print VLAN priority if they are specified */ if (vlaninfo->bitmask & EBT_VLAN_PRIO) { - printf ("--vlan-prio %s %d, ", + printf ("--vlan-prio %s %d ", vlaninfo->invflags & EBT_VLAN_PRIO ? "!" : "", vlaninfo->prio); } @@ -233,7 +233,7 @@ print (const struct ebt_u_entry *entry, * Print VLAN encapsulated protocol if they are specified */ if (vlaninfo->bitmask & EBT_VLAN_ENCAP) { - printf ("--vlan-encap %s %2.4X, ", + printf ("--vlan-encap %s %2.4X ", vlaninfo->invflags & EBT_VLAN_ENCAP ? "!" : "", ntohs (vlaninfo->encap)); } -- cgit v1.2.3