diff options
| author | David Lamparter <equinox@diac24.net> | 2019-06-06 19:35:03 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-06 20:59:54 +0200 |
| commit | 874035be4e65a889525b0380ce686b64e7ff5bb0 (patch) | |
| tree | c296aa18b6dd4f1d195d08f74a149a09456c51e6 /lib/ntop.c | |
| parent | e128c002261a8f602b8bcb786c990e47c52d8cf8 (diff) | |
tests: exercise frr_inet_ntop()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/ntop.c')
| -rw-r--r-- | lib/ntop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ntop.c b/lib/ntop.c index 5500f988e0..d47a0b697a 100644 --- a/lib/ntop.c +++ b/lib/ntop.c @@ -165,8 +165,10 @@ inet4: return dst; } +#ifndef INET_NTOP_NO_OVERRIDE /* we want to override libc inet_ntop, but make sure it shows up in backtraces * as frr_inet_ntop (to avoid confusion while debugging) */ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) __attribute__((alias ("frr_inet_ntop"))) DSO_SELF; +#endif |
