diff options
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | 2012-04-10 16:57:23 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-05-02 17:03:27 +0200 |
commit | d227617a972bb20a974be68bea5032e692a0970f (patch) | |
tree | 550ab426e690a34ffe8955eeccf2c93a616adef2 /lib/sockunion.h | |
parent | 0c5ed3ed00f630ae95dc2dfd4b5a938683e2a99e (diff) |
lib: remove last uses of sockunion_su2str()
Use of this function is prone to memory leaks.
This fixes a memory accounting bug for vty denied connections.
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/sockunion.h')
-rw-r--r-- | lib/sockunion.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h index 15b97fc5..8b060586 100644 --- a/lib/sockunion.h +++ b/lib/sockunion.h @@ -94,7 +94,6 @@ extern const char *sockunion2str (union sockunion *, char *, size_t); extern int sockunion_cmp (union sockunion *, union sockunion *); extern int sockunion_same (union sockunion *, union sockunion *); -extern char *sockunion_su2str (union sockunion *su); extern union sockunion *sockunion_str2su (const char *str); extern struct in_addr sockunion_get_in_addr (union sockunion *su); extern int sockunion_accept (int sock, union sockunion *); |