diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-27 21:23:40 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-27 21:25:22 -0500 |
commit | 7cbb67373e7f565ebbaaad2b7b71749079865180 (patch) | |
tree | 828e2f74aeeaf7337f29230ff0e0c6c3c037b753 /src | |
parent | 798f04132f1e8793d1b3fe347f5e7bff85262495 (diff) | |
download | pfsense-7cbb67373e7f565ebbaaad2b7b71749079865180.zip pfsense-7cbb67373e7f565ebbaaad2b7b71749079865180.tar.gz |
Use 0 here if specified. Ticket #6413
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/services.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc index 98c77e3..4bb00af 100644 --- a/src/etc/inc/services.inc +++ b/src/etc/inc/services.inc @@ -705,7 +705,7 @@ EOPP; if ($octet < $start_octet) { continue; } - $ptr_domain .= (empty($ptr_domain) ? '' : '.'); + $ptr_domain .= ((empty($ptr_domain) && $ptr_domain !== "0") ? '' : '.'); $ptr_domain .= $revsubnet[$octet]; } $ptr_domain .= ".in-addr.arpa"; |