Skip to content

Commit

Permalink
Update providers/base/bin/wifi_client_test_netplan.py
Browse files Browse the repository at this point in the history
Co-authored-by: Massimiliano <[email protected]>
  • Loading branch information
seankingyang and Hook25 authored Oct 14, 2024
1 parent 03dd910 commit f9d1280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/base/bin/wifi_client_test_netplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def __validate_ip(ip):

def get_gateway(interface, renderer):
info = get_interface_info(interface, renderer)
gateway = info.get("gateway")
gateway = info.get("gateway") or ""
validated_gateway = _validate_gateway_ip(gateway)
print("Got gateway address: {}".format(gateway))
print("Validated gateway address: {}".format(validated_gateway))
Expand Down

0 comments on commit f9d1280

Please sign in to comment.