Displaying 1 result from an estimated 1 matches for "udp6transp".
2004 Mar 02
2
[PATCH] Force mountd(8) to a specified port.
...=======================================
RCS file: /home/ncvs/src/usr.sbin/mountd/mountd.c,v
retrieving revision 1.74
diff -u -r1.74 mountd.c
--- mountd.c 30 Oct 2003 22:57:43 -0000 1.74
+++ mountd.c 2 Mar 2004 21:08:17 -0000
@@ -272,11 +272,15 @@
fd_set readfds;
SVCXPRT *udptransp, *tcptransp, *udp6transp, *tcp6transp;
struct netconfig *udpconf, *tcpconf, *udp6conf, *tcp6conf;
+ struct sockaddr_in sin;
+ struct sockaddr_in6 sin6;
int udpsock, tcpsock, udp6sock, tcp6sock;
+ char *endptr;
+ in_port_t svcport = 0;
int xcreated = 0, s;
int maxrec = RPC_MAXDATASIZE;
int one = 1;
- int c;
+ int...