From 010491fd08073baedbbb8407056de4428306c936 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Thu, 12 Sep 2002 07:14:55 +0000 Subject: Fix save() functions of mac match,ipv4 and ipv6. (Michael Schwendt) --- extensions/libipt_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libipt_mac.c') diff --git a/extensions/libipt_mac.c b/extensions/libipt_mac.c index e50a887c..3710117d 100644 --- a/extensions/libipt_mac.c +++ b/extensions/libipt_mac.c @@ -118,7 +118,7 @@ print(const struct ipt_ip *ip, /* Saves the union ipt_matchinfo in parsable form to stdout. */ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) { - printf("--mac "); + printf("--mac-source "); print_mac(((struct ipt_mac_info *)match->data)->srcaddr, ((struct ipt_mac_info *)match->data)->invert); } -- cgit v1.2.3