summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-12-23 11:23:08 -0800
committerDan Williams <dcbw@redhat.com>2009-12-23 11:23:28 -0800
commit22100e53a3be6c4e340b7a0f50433fa62c60b878 (patch)
tree11baf204ab99a3f88508792e65faab586d6e229d
parent8677b82ed7166a1c754aa9aab4e85123819ad545 (diff)
downloadnetwork-manager-applet-22100e53a3be6c4e340b7a0f50433fa62c60b878.tar.gz
editor: fix bad assignment
-rw-r--r--src/connection-editor/page-ip4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index 592d8dd5..82884ceb 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -385,7 +385,7 @@ populate_ui (CEPageIP4 *self)
gtk_entry_set_text (priv->dns_searches, string->str);
g_string_free (string, TRUE);
- if ((method == IP4_METHOD_AUTO) || (method = IP4_METHOD_AUTO_ADDRESSES)) {
+ if ((method == IP4_METHOD_AUTO) || (method == IP4_METHOD_AUTO_ADDRESSES)) {
if (nm_setting_ip4_config_get_dhcp_client_id (setting)) {
gtk_entry_set_text (priv->dhcp_client_id,
nm_setting_ip4_config_get_dhcp_client_id (setting));