Re: Patch for iptables v 1.8.7 mac extension

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

 



On Monday 2021-08-30 10:29, a.wojcik hyp.home.pl wrote:

>Hi.
>In iptables version 1.8.7 mac extension sticks words together.
>Title: Patch for libxt_mac.c
>Description: Extension mac in iptables v 1.8.7 sticks words together
>Best Regards.
>Adam Wójcik

>@@ -55,7 +55,7 @@ static void mac_save(const void *ip, const struct xt_entry_match *match)
> 	const struct xt_mac_info *info = (void *)match->data;
> 
> 	if (info->invert)
>-		printf(" !");
>+		printf(" ! ");
> 
> 	printf(" --mac-source ");
> 	xtables_print_mac(info->srcaddr);

At least in this one instance, it's rather obvious you now have two spaces
after !.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux