From c4e7d98c56e0dc8121237032a1a7bd60bde17453 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 15 Mar 2019 05:18:44 +0000 Subject: [PATCH] fix device port change check --- lib/App/Netdisco/Util/Port.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Util/Port.pm b/lib/App/Netdisco/Util/Port.pm index 383e893b..780ff13b 100644 --- a/lib/App/Netdisco/Util/Port.pm +++ b/lib/App/Netdisco/Util/Port.pm @@ -219,7 +219,7 @@ Returns true if the C<$port> L object has a phone connected. =cut sub port_has_phone { - return (shift)->with_properties->remote_is_phone; + return (shift)->properties->remote_is_phone; } 1;