[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Note lack of IPv6 addresses in the log



When we are copying settings, say whether we found any IPv6 address.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenvif/settings.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xenvif/settings.c b/src/xenvif/settings.c
index 145e83d..54fb12e 100644
--- a/src/xenvif/settings.c
+++ b/src/xenvif/settings.c
@@ -268,8 +268,10 @@ SettingsCopyIpVersion6Addresses(
                                 IPV6_PATH,
                                 (Save) ? KEY_READ : KEY_ALL_ACCESS,
                                 &ValueKey);
-    if (!NT_SUCCESS(status))
+    if (!NT_SUCCESS(status)) {
+        Info("NOT FOUND\n");
         goto done;
+    }
 
     Trace("%s %s\\%s\n",
           (Save) ? "FROM" : "TO",
-- 
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.