mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 15:10:14 +01:00
ip6: add some comments
This commit is contained in:
parent
48441ea636
commit
4045a91ab9
1 changed files with 2 additions and 0 deletions
|
|
@ -694,6 +694,7 @@ process_nduseropt_rdnss (NMIP6Device *device, struct nd_opt_hdr *opt)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Update the cached timeout if we already saw this server */
|
||||
for (i = 0; i < device->rdnss_servers->len; i++) {
|
||||
cur_server = &(g_array_index (device->rdnss_servers, NMIP6RDNSS, i));
|
||||
|
||||
|
|
@ -836,6 +837,7 @@ process_nduseropt_dnssl (NMIP6Device *device, struct nd_opt_hdr *opt)
|
|||
if (domain_str[0] == '\0')
|
||||
continue;
|
||||
|
||||
/* Update cached domain information if we've seen this domain before */
|
||||
for (i = 0; i < device->dnssl_domains->len; i++) {
|
||||
cur_domain = &(g_array_index (device->dnssl_domains, NMIP6DNSSL, i));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue