]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
DhcpWatch::leases: Fix a reporting message
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 25 Sep 2015 17:08:45 +0000 (18:08 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 13 Nov 2015 12:42:16 +0000 (12:42 +0000)
This talks about `guest_check_ip', but this code is now factored out
into a method.  Use the correct method name in reporting.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Tested-by: Robert Ho <robert.hu@intel.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v14: New patch

Osstest/DhcpWatch/leases.pm

index 9a74c4084406849e1c6fa56ba1564396b8e013da..b74ebf0b7df76d6c9c97608c33845d58a1fb1370 100644 (file)
@@ -171,7 +171,7 @@ sub check_ip ($$) {
     }
     $gho->{Ip}= $best->{' addr'};
 
-    report_once($gho, 'guest_check_ip', 
+    report_once($gho, 'leases::check_ip', 
                "guest $gho->{Name}: $gho->{Ether} $gho->{Ip}");
     return undef;
 }