diff --git a/src/freedombone-installer b/src/freedombone-installer
index 47960f9c231c7eb02f870d61acc99e6b32c17d34..75a6cd2852ce8e9edf2d8b846909b3830fddd02d 100755
--- a/src/freedombone-installer
+++ b/src/freedombone-installer
@@ -2602,7 +2602,7 @@ function update_dynamic_dns {
 function webadmin_monitor_ip_changes {
     curr_ipv4=$(get_ipv4_address)
     if [[ "$curr_ipv4" != "$webadmin_ipv4_address" ]]; then
-        webadmin_ipv4_address=$curr_ipv4
+        webadmin_ipv4_address="$curr_ipv4"
         update_dynamic_dns
     fi
 }