diff options
Diffstat (limited to 'tcpip')
-rw-r--r-- | tcpip/rip98r.c | 3 | ||||
-rw-r--r-- | tcpip/ttylinkd.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tcpip/rip98r.c b/tcpip/rip98r.c index 25cb546..9a623ff 100644 --- a/tcpip/rip98r.c +++ b/tcpip/rip98r.c @@ -82,7 +82,8 @@ void receive_routes(int s) unsigned long int netmask; unsigned long int network; int bits, metric; - int size, found, matched; + int found, matched; + socklen_t size; int mess_len; int i; diff --git a/tcpip/ttylinkd.c b/tcpip/ttylinkd.c index 032a5bd..234b7fd 100644 --- a/tcpip/ttylinkd.c +++ b/tcpip/ttylinkd.c @@ -106,7 +106,6 @@ int main(int argc, char *argv[]) struct sockaddr_in ctl_sin; struct in_addr my_addr, rem_addr; int ctl_skt, skt, new_skt; - int length; CTL_RESPONSE resp; CTL_MSG msg; struct protoent *ppe; @@ -116,10 +115,11 @@ int main(int argc, char *argv[]) char buf[256]; char user[NAME_SIZE]; struct sockaddr sa, msg_sa; - int sa_len, i; struct sockaddr_in *peer_sin=NULL, *msg_sin; struct sockaddr_ax25 *peer_sax; struct sockaddr_rose *peer_srose; + socklen_t sa_len, length; + int i; /* Open up the system logger */ openlog(argv[0], LOG_PID, LOG_DAEMON); |