diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c index 94500292d..0a7528ebe 100644 --- a/panels/network/connection-editor/ce-page-ip4.c +++ b/panels/network/connection-editor/ce-page-ip4.c @@ -750,7 +750,7 @@ ui_to_setting (CEPageIP4 *page) continue; } - if (!text_address || !nm_utils_ipaddr_valid (AF_INET, text_address)) { + if (!nm_utils_ipaddr_valid (AF_INET, text_address)) { widget_set_error (GTK_WIDGET (entry)); ret = FALSE; } else {