diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-04-02 15:31:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 15:31:36 +0200 |
commit | f243fd3d90e2b9d67e021ccab08b3faa066af8b5 (patch) | |
tree | 87925ebdbf959010dd248e751ceead9197990485 /lib/prefix.c | |
parent | Merge pull request #8382 from taspelund/add_rd_all_v2 (diff) | |
parent | lib: remove inet6_ntoa api (diff) | |
download | frr-f243fd3d90e2b9d67e021ccab08b3faa066af8b5.tar.xz frr-f243fd3d90e2b9d67e021ccab08b3faa066af8b5.zip |
Merge pull request #8376 from mjstapp/fix_remove_inet6_ntoa
lib, ripngd: Remove inet6_ntoa
Diffstat (limited to 'lib/prefix.c')
-rw-r--r-- | lib/prefix.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/prefix.c b/lib/prefix.c index 141d56460..7dbb5f07f 100644 --- a/lib/prefix.c +++ b/lib/prefix.c @@ -1198,15 +1198,6 @@ int netmask_str2prefix_str(const char *net_str, const char *mask_str, return 1; } -/* Utility function for making IPv6 address string. */ -const char *inet6_ntoa(struct in6_addr addr) -{ - static char buf[INET6_ADDRSTRLEN]; - - inet_ntop(AF_INET6, &addr, buf, INET6_ADDRSTRLEN); - return buf; -} - /* converts to internal representation of mac address * returns 1 on success, 0 otherwise * format accepted: AA:BB:CC:DD:EE:FF |