Changeset 384 for trunk/src/sh_port2proc.c
- Timestamp:
- Dec 7, 2011, 9:23:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_port2proc.c
r315 r384 802 802 continue; 803 803 } else if (inp->inp_vflag & INP_IPV6) { 804 #ifndef in6p_fport 805 #define in6p_fport inp_fport 806 #endif 804 807 if ((inp->in6p_fport == 0 && !opt_l) || 805 808 (inp->in6p_fport != 0 && !opt_c)) … … 822 825 memset(sock, '\0', sizeof (*sock)); 823 826 827 #ifndef in6p_lport 828 #define in6p_lport inp_lport 829 #endif 824 830 sock->socket = so->xso_so; 825 831 sock->proto = proto; … … 917 923 int n, hash; 918 924 struct xfile *xf; 919 struct in_addr * haddr ;920 struct in6_addr * haddr6 ;925 struct in_addr * haddr = NULL; 926 struct in6_addr * haddr6 = NULL; 921 927 struct sock * s; 922 928 struct in6_addr anyaddr = IN6ADDR_ANY_INIT;
Note:
See TracChangeset
for help on using the changeset viewer.