wok-current annotate linux64-wireguard/stuff/socket.u @ rev 25652
Fix get-texlive for 2008 version, add collection-latex
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Feb 07 18:01:05 2024 +0000 (10 months ago) |
parents | |
children |
rev | line source |
---|---|
pascal@25437 | 1 --- socket.c |
pascal@25437 | 2 +++ socket.c |
pascal@25437 | 3 @@ -358,7 +358,6 @@ |
pascal@25437 | 4 struct socket *new4 = NULL, *new6 = NULL; |
pascal@25437 | 5 struct udp_port_cfg port4 = { |
pascal@25437 | 6 .family = AF_INET, |
pascal@25437 | 7 - .local_ip.s_addr = htonl(INADDR_ANY), |
pascal@25437 | 8 .local_udp_port = htons(port), |
pascal@25437 | 9 .use_udp_checksums = true |
pascal@25437 | 10 }; |
pascal@25437 | 11 @@ -366,12 +365,13 @@ |
pascal@25437 | 12 int retries = 0; |
pascal@25437 | 13 struct udp_port_cfg port6 = { |
pascal@25437 | 14 .family = AF_INET6, |
pascal@25437 | 15 - .local_ip6 = IN6ADDR_ANY_INIT, |
pascal@25437 | 16 .use_udp6_tx_checksums = true, |
pascal@25437 | 17 .use_udp6_rx_checksums = true, |
pascal@25437 | 18 .ipv6_v6only = true |
pascal@25437 | 19 }; |
pascal@25437 | 20 + memset(&port6.local_ip6, 0, 16); // port6.local_ip6 = IN6ADDR_ANY_INIT; |
pascal@25437 | 21 #endif |
pascal@25437 | 22 + port4.local_ip.s_addr = htonl(INADDR_ANY); |
pascal@25437 | 23 |
pascal@25437 | 24 rcu_read_lock(); |
pascal@25437 | 25 net = rcu_dereference(wg->creating_net); |