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;