- Fix a bug in IPV6 subnet enumeration (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=57
This commit is contained in:
parent
8eff0a9f9e
commit
727d8197fc
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 15 12:04:05 CEST 2013 - ohering@suse.de
|
||||||
|
|
||||||
|
- Fix a bug in IPV6 subnet enumeration (bnc#828714)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 26 18:03:47 CET 2013 - ohering@suse.de
|
Tue Mar 26 18:03:47 CET 2013 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -1012,9 +1012,10 @@ kvp_get_ip_info(int family, char *if_name, int op,
|
|||||||
|
|
||||||
if (sn_offset == 0)
|
if (sn_offset == 0)
|
||||||
strcpy(sn_str, cidr_mask);
|
strcpy(sn_str, cidr_mask);
|
||||||
else
|
else {
|
||||||
strcat(sn_str, cidr_mask);
|
|
||||||
strcat((char *)ip_buffer->sub_net, ";");
|
strcat((char *)ip_buffer->sub_net, ";");
|
||||||
|
strcat(sn_str, cidr_mask);
|
||||||
|
}
|
||||||
sn_offset += strlen(sn_str) + 1;
|
sn_offset += strlen(sn_str) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user