From 14aee2f4c6085fc45cb1500de55d95e43316f850 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 24 Feb 2013 12:44:39 +0545 Subject: Use common code and constants from services.inc Reduce code duplication --- usr/local/www/services_dyndns.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index 2d209c1..a80b6ae 100755 --- a/usr/local/www/services_dyndns.php +++ b/usr/local/www/services_dyndns.php @@ -1,7 +1,7 @@ =siU', $ip_result_decoded, $matches); - $ip_address = trim($matches[1]); - } - return $ip_address; -} - $pgtitle = array(gettext("Services"), gettext("Dynamic DNS clients")); include("head.inc"); @@ -138,8 +120,8 @@ include("head.inc");