diff options
author | Andrew Senetar <arsenetar@gmail.com> | 2013-05-30 16:16:40 -0300 |
---|---|---|
committer | Andrew Senetar <arsenetar@gmail.com> | 2013-05-30 16:16:40 -0300 |
commit | 3793649f8473c525d0edeaef5d5f2bb72c748e28 (patch) | |
tree | 8b63eec15899c62a6d7ba87ca10f13972003564b /etc/inc/dyndns.class | |
parent | e26e1f76c9958500a99cfc9aa58c318b2aafa913 (diff) | |
download | pfsense-3793649f8473c525d0edeaef5d5f2bb72c748e28.zip pfsense-3793649f8473c525d0edeaef5d5f2bb72c748e28.tar.gz |
Update dyndns.class
Minor Style Change
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index 3507bd5..062eea9 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -1022,23 +1022,23 @@ } else if (preg_match('/INVLDHST/i', $resp)) { $status = "DynDNS: An invalid hostname was specified. This may be due to the fact the hostname has not been created in the system. Creating new host names via clients is not supported."; } else if (preg_match('/INVLDIP/i', $resp)) { - $status = "DynDNS: The IP address given is not valid."; - } else if (preg_match('/DUPHST/i', $resp)) { - $status = "DynDNS: Duplicate values exist for a record. Only single values for records are supported currently."; - } else if (preg_match('/NOUPDATE/i', $resp)) { - $status = "DynDNS: No changes made to the hostname (".strtok($resp,' ')."). Continual updates with no changes lead to blocked clients."; - $successful_update = true; //success if it is the same so that it saves - } else if (preg_match('/OK/i', $resp)) { - $status = "DynDNS: (Success) (".strtok($resp,' ').") IP Address for Changed Successfully! ($IP)"; - $successful_update = true; - } else { - $status = "DynDNS: (Unknown Response)"; - log_error("DynDNS: PAYLOAD: {$resp}"); - $this->_debug($resp); - } - log_error($status); - } - break; + $status = "DynDNS: The IP address given is not valid."; + } else if (preg_match('/DUPHST/i', $resp)) { + $status = "DynDNS: Duplicate values exist for a record. Only single values for records are supported currently."; + } else if (preg_match('/NOUPDATE/i', $resp)) { + $status = "DynDNS: No changes made to the hostname (".strtok($resp,' ')."). Continual updates with no changes lead to blocked clients."; + $successful_update = true; //success if it is the same so that it saves + } else if (preg_match('/OK/i', $resp)) { + $status = "DynDNS: (Success) (".strtok($resp,' ').") IP Address for Changed Successfully! ($IP)"; + $successful_update = true; + } else { + $status = "DynDNS: (Unknown Response)"; + log_error("DynDNS: PAYLOAD: {$resp}"); + $this->_debug($resp); + } + log_error($status); + } + break; } if($successful_update == true) { |