diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2014-04-14 22:04:55 +0200 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2014-04-14 22:04:55 +0200 |
commit | 09792f0107a9318da809908db31f0b826017de7b (patch) | |
tree | 504ba558888915b7ec12416dbe0077579039529b /include/ebtables_u.h | |
parent | 826faffa38de8ce55bb32cd1549fb732229fd80f (diff) | |
download | ebtables-09792f0107a9318da809908db31f0b826017de7b.tar.gz |
don't print IPv6 mask if it's all ones (based on patch by Mariusz Mazur <mmazur at axeos.com>)
Diffstat (limited to 'include/ebtables_u.h')
-rw-r--r-- | include/ebtables_u.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h index ab615c1..35a5bcc 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -303,6 +303,7 @@ char *ebt_mask_to_dotted(uint32_t mask); void ebt_parse_ip6_address(char *address, struct in6_addr *addr, struct in6_addr *msk); char *ebt_ip6_to_numeric(const struct in6_addr *addrp); +char *ebt_ip6_mask_to_string(const struct in6_addr *msk); int do_command(int argc, char *argv[], int exec_style, |