netkit-rwall (0.17-7) rpc.rwalld/rwalld.c

Summary

 rpc.rwalld/rwalld.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- netkit-rwall-0.17.orig/rpc.rwalld/rwalld.c
+++ netkit-rwall-0.17/rpc.rwalld/rwalld.c
@@ -78,8 +78,8 @@
 {
 	SVCXPRT *transp;
 	int s;
-	socklen_t salen;
 	struct sockaddr_in sa;
+	socklen_t salen = sizeof(sa);
         int sock = 0;
         int proto = 0;