[ovs-dev,v2,2/7] datapath-windows: prettify logging in iphelper

Message ID 20171106153339.10100-2-aserdean@ovn.org
State New
Headers show
Series
  • [ovs-dev,v2,1/7] datapath-windows: Use only non executable memory
Related show

Commit Message

Alin Gabriel Serdean Nov. 6, 2017, 3:33 p.m.
From: Alin Serdean <aserdean@cloudbasesolutions.com>

Found by inspection.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
---
v2: s/Fail/Failed. Suggested by: Shashank Ram rams@vmware.com
---
 datapath-windows/ovsext/IpHelper.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Shashank Ram Nov. 7, 2017, 1:46 a.m. | #1
From: Alin Serdean <aserdean@cloudbasesolutions.com>
>
> Found by inspection.
>
> Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
> ---
> v2: s/Fail/Failed. Suggested by: Shashank Ram rams@vmware.com
> ---
>
Acked-by: Shashank Ram <shashank08@gmail.com>

Patch

diff --git a/datapath-windows/ovsext/IpHelper.c b/datapath-windows/ovsext/IpHelper.c
index 548833d..e995e56 100644
--- a/datapath-windows/ovsext/IpHelper.c
+++ b/datapath-windows/ovsext/IpHelper.c
@@ -938,7 +938,7 @@  OvsRegisterChangeNotification()
     status = NotifyRouteChange2(AF_INET, OvsChangeCallbackIpRoute, &dummy,
                                 TRUE, &ipRouteNotificationHandle);
     if (status != STATUS_SUCCESS) {
-        OVS_LOG_ERROR("Fail to regiter ip route change, status: %x.",
+        OVS_LOG_ERROR("Failed to register IP route change, status: %x.",
                       status);
         goto register_cleanup;
     }
@@ -947,7 +947,8 @@  OvsRegisterChangeNotification()
                                           NULL, TRUE,
                                           &unicastIPNotificationHandle);
     if (status != STATUS_SUCCESS) {
-        OVS_LOG_ERROR("Fail to regiter unicast ip change, status: %x.", status);
+        OVS_LOG_ERROR("Failed to register UNICAST IP change, status: %x.",
+                      status);
     }
 register_cleanup:
     if (status != STATUS_SUCCESS) {