From 37dcb7f1252c3bfd3d72d324f10392c14e5c7f8c Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 23 Jun 2002 09:07:07 +0000 Subject: *** empty log message *** --- userspace/ebtables2/extensions/ebt_vlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'userspace/ebtables2') diff --git a/userspace/ebtables2/extensions/ebt_vlan.c b/userspace/ebtables2/extensions/ebt_vlan.c index 06708da..05ee992 100644 --- a/userspace/ebtables2/extensions/ebt_vlan.c +++ b/userspace/ebtables2/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