summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_arpreply.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libebt_arpreply.c')
-rw-r--r--extensions/libebt_arpreply.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/libebt_arpreply.c b/extensions/libebt_arpreply.c
index 998dece3..80ba2159 100644
--- a/extensions/libebt_arpreply.c
+++ b/extensions/libebt_arpreply.c
@@ -71,17 +71,12 @@ brarpreply_parse(int c, char **argv, int invert, unsigned int *flags,
return 1;
}
-static void ebt_print_mac(const unsigned char *mac)
-{
- printf("%s", ether_ntoa((struct ether_addr *) mac));
-}
-
static void brarpreply_print(const void *ip, const struct xt_entry_target *t, int numeric)
{
struct ebt_arpreply_info *replyinfo = (void *)t->data;
printf("--arpreply-mac ");
- ebt_print_mac(replyinfo->mac);
+ xtables_print_mac(replyinfo->mac);
if (replyinfo->target == EBT_DROP)
return;
printf(" --arpreply-target %s", ebt_target_name(replyinfo->target));