Changeset 48338 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Sep 6, 2013 6:27:06 AM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/proxy_dhcp6ds.c
r48001 r48338 57 57 pxaddr = netif_ip6_addr(proxy_netif, 0); /* link local */ 58 58 59 /* 60 * XXX: TODO: This is a leftover from testing with IPv6 mapped 61 * loopback with a special IPv6->IPv4 mapping hack in pxudp.c 62 */ 59 63 /* advertise ourself as DNS resolver - will be proxied to host */ 60 64 pxaddr_nonlocal = NULL; … … 117 121 DNSSRV_SET(0, DHCP6_OPTION_DNS_SERVERS); 118 122 DNSSRV_SET(2, 16); /* one IPv6 address */ 123 /* 124 * XXX: TODO: This is a leftover from testing with IPv6 mapped 125 * loopback with a special IPv6->IPv4 mapping hack in pxudp.c 126 */ 119 127 memcpy(&dhcp6ds_dns[4], pxaddr_nonlocal, sizeof(ip6_addr_t)); 120 128 -
trunk/src/VBox/NetworkServices/NAT/proxy_rtadvd.c
r48001 r48338 321 321 #endif 322 322 /* 323 * XXX: TODO: Disable "O" flag for now to match disabled stateless 324 * server. We don't yet get IPv6 nameserver addresses from 325 * HostDnsService, so we have nothing to say, don't tell guests to 326 * come asking. 327 */ 328 #if 0 329 /* 323 330 * "O" flag. Tell guests to use DHCP6 for DNS and the like. This 324 331 * is served by simple stateless server (RFC 3736). 332 * 333 * XXX: "STATEFUL" in the flag name was probably a bug in RFC2461. 334 * It's present in the text, but not in the router configuration 335 * variable name. It's dropped in the text in RFC4861. 325 336 */ 326 337 ra_hdr->flags |= ND6_RA_FLAG_OTHER_STATEFUL_CONFIG; 338 #endif 327 339 328 340 if (is_default) { -
trunk/src/VBox/NetworkServices/NAT/proxytest.c
r48241 r48338 58 58 #endif 59 59 60 #if 1 60 /* 61 * XXX: We use stateless DHCPv6 only to report IPv6 address(es) of 62 * nameserver(s). Since we don't yet support IPv6 addresses in 63 * HostDnsService, there's no point in running DHCPv6. 64 */ 65 #if 0 61 66 dhcp6ds_init(proxy_netif); 62 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.