- 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:
Olaf Hering 2013-07-15 10:04:35 +00:00 committed by Git OBS Bridge
parent 8eff0a9f9e
commit 727d8197fc
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -1012,9 +1012,10 @@ kvp_get_ip_info(int family, char *if_name, int op,
if (sn_offset == 0)
strcpy(sn_str, cidr_mask);
else
else {
strcat((char *)ip_buffer->sub_net, ";");
strcat(sn_str, cidr_mask);
strcat((char *)ip_buffer->sub_net, ";");
}
sn_offset += strlen(sn_str) + 1;
}