diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
commit | 8339ff1d7d8694153e2daac032c0999fbf04aad9 (patch) | |
tree | 48d3400eb6d6ea2fc08c0680e328947a986f1b7d /extensions/ebt_arpreply.c | |
parent | 464e7d9b2e853441282addc7484e5eee7d825514 (diff) |
Make ebtables library functions
Diffstat (limited to 'extensions/ebt_arpreply.c')
-rw-r--r-- | extensions/ebt_arpreply.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/ebt_arpreply.c b/extensions/ebt_arpreply.c index 7e5f113..d524253 100644 --- a/extensions/ebt_arpreply.c +++ b/extensions/ebt_arpreply.c @@ -48,7 +48,7 @@ static int parse(int c, char **argv, int argc, switch (c) { case REPLY_MAC: - check_option(flags, OPT_REPLY_MAC); + ebt_check_option(flags, OPT_REPLY_MAC); if (!(addr = ether_aton(optarg))) print_error("Problem with specified " "--arpreply-mac mac"); @@ -56,7 +56,7 @@ static int parse(int c, char **argv, int argc, mac_supplied = 1; break; case REPLY_TARGET: - check_option(flags, OPT_REPLY_TARGET); + ebt_check_option(flags, OPT_REPLY_TARGET); if (FILL_TARGET(optarg, replyinfo->target)) print_error("Illegal --arpreply-target target"); break; @@ -94,7 +94,7 @@ static void print(const struct ebt_u_entry *entry, (struct ebt_arpreply_info *)target->data; printf("--arpreply-mac "); - print_mac(replyinfo->mac); + ebt_print_mac(replyinfo->mac); if (replyinfo->target == EBT_DROP) return; printf(" --arpreply-target %s", TARGET_NAME(replyinfo->target)); @@ -128,5 +128,5 @@ static struct ebt_u_target arpreply_target = static void _init(void) __attribute__ ((constructor)); static void _init(void) { - register_target(&arpreply_target); + ebt_register_target(&arpreply_target); } |