diff options
author | paul <paul> | 2004-05-08 05:10:38 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-08 05:10:38 +0000 |
commit | 04e74d157852475dcef389a4d58348f228671e16 (patch) | |
tree | 5db00387bfc36bb731928d1f281f2f62da692065 | |
parent | e4de185299ceb9dfbfdab87c878bf662467f353a (diff) | |
download | quagga-04e74d157852475dcef389a4d58348f228671e16.tar.bz2 quagga-04e74d157852475dcef389a4d58348f228671e16.tar.xz |
2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
* command.c: (sockunion_getsockname) use socklen_t for len.
(sockunion_getpeername) ditto.
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/sockunion.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index b7c54228..fa6c5846 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -6,7 +6,9 @@ * if.c: (connected_add_by_prefix) Add prefix to connected list. (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag (if_dump) Dump mtu6 flag, for HAVE_IPV6. - + * command.c: (sockunion_getsockname) use socklen_t for len. + (sockunion_getpeername) ditto. + 2004-04-21 Boris Kovalenko <boris@tagnet.ru> * daemon.c: (daemon) fix check for error return from setsid diff --git a/lib/sockunion.c b/lib/sockunion.c index e4b311c7..039da1a9 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -557,7 +557,7 @@ union sockunion * sockunion_getsockname (int fd) { int ret; - int len; + socklen_t len; union { struct sockaddr sa; @@ -612,7 +612,7 @@ union sockunion * sockunion_getpeername (int fd) { int ret; - int len; + socklen_t len; union { struct sockaddr sa; |