diff --git a/src/ppp-manager/nm-pppd-plugin.c b/src/ppp-manager/nm-pppd-plugin.c index e41edc6190..c4e2071b2a 100644 --- a/src/ppp-manager/nm-pppd-plugin.c +++ b/src/ppp-manager/nm-pppd-plugin.c @@ -223,7 +223,7 @@ get_credentials (char *username, char *password) size_t len; GError *err = NULL; - if (user && !password) { + if (username && !password) { /* pppd is checking pap support; return 1 for supported */ return 1; }