aboutsummaryrefslogtreecommitdiffstats
path: root/config/avahi
diff options
context:
space:
mode:
authorMorlok8k <otis.spankmeyer@gmail.com>2015-10-18 00:39:00 -0700
committerMorlok8k <otis.spankmeyer@gmail.com>2015-10-18 00:39:00 -0700
commitd285186e11b59d11eb9aa447c21ecdf8639e075c (patch)
tree4d52872fa9eb74419661c99741ad8cf2912d24c2 /config/avahi
parent81a14d2c44aa3f3c6d38f7ca3ab9d64590d829ec (diff)
downloadpfsense-packages-d285186e11b59d11eb9aa447c21ecdf8639e075c.tar.gz
pfsense-packages-d285186e11b59d11eb9aa447c21ecdf8639e075c.tar.bz2
pfsense-packages-d285186e11b59d11eb9aa447c21ecdf8639e075c.zip
Logic for publishing was swapped. disable checkbox was enabling & vice-versa.
Diffstat (limited to 'config/avahi')
-rw-r--r--config/avahi/avahi.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc
index ba89676f..04f3b343 100644
--- a/config/avahi/avahi.inc
+++ b/config/avahi/avahi.inc
@@ -82,8 +82,8 @@ function avahi_write_config() {
// Wide Area
$widearea = ($avahi_config['enable_wide_area']) ? "yes" : "no";
// Publishing Options
- $publish = ($avahi_config['disable_publishing']) ? "no" : "yes";
- $userpublish = ($avahi_config['disable_user_service_publishing']) ? "no" : "yes";
+ $publish = ($avahi_config['disable_publishing']) ? "yes" : "no";
+ $userpublish = ($avahi_config['disable_user_service_publishing']) ? "yes" : "no";
$addresspublish = ($avahi_config['publish_addresses']) ? "yes" : "no";
$cookie = ($avahi_config['add_service_cookie']) ? "yes" : "no";
$hinfopublish = ($avahi_config['publish_hinfo']) ? "yes" : "no";