summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_mac.c
diff options
context:
space:
mode:
authorlaforge <laforge>2002-09-12 07:14:55 +0000
committerlaforge <laforge>2002-09-12 07:14:55 +0000
commitd6e726b62ccf1c904de4efa28a07d55e21337a17 (patch)
tree236a92b9230b16da080cf4e35fb4a1820a008f5f /extensions/libip6t_mac.c
parentd62209e27ccdea63910d1171d31a76db1e9d209b (diff)
Fix save() functions of mac match,ipv4 and ipv6. (Michael Schwendt)
Diffstat (limited to 'extensions/libip6t_mac.c')
-rw-r--r--extensions/libip6t_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_mac.c b/extensions/libip6t_mac.c
index 8fbb819..aac3980 100644
--- a/extensions/libip6t_mac.c
+++ b/extensions/libip6t_mac.c
@@ -118,7 +118,7 @@ print(const struct ip6t_ip6 *ip,
/* Saves the union ip6t_matchinfo in parsable form to stdout. */
static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match)
{
- printf("--mac ");
+ printf("--mac-source ");
print_mac(((struct ip6t_mac_info *)match->data)->srcaddr,
((struct ip6t_mac_info *)match->data)->invert);
}