aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/openbgpd/openbgpd.inc11
-rw-r--r--pkg_config.10.xml2
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
4 files changed, 10 insertions, 7 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 76aeb54f..907f6b8c 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -129,10 +129,13 @@ function openbgpd_install_conf() {
$conffile .= "\t\t{$row['parameters']} {$row['parmvalue']} \n";
}
}
- if ($setlocaladdr == true && !empty($openbgpd_conf['listenip']))
- $conffile .= "\t\tlocal-address {$openbgpd_conf['listenip']}\n";
- else
- $conffile .= "\t\tlocal-address 0.0.0.0\n";
+ if ($setlocaladdr == true) {
+ if (!empty($openbgpd_conf['listenip'])) {
+ $conffile .= "\t\tlocal-address {$openbgpd_conf['listenip']}\n";
+ } else {
+ $conffile .= "\t\tlocal-address 0.0.0.0\n";
+ }
+ }
$conffile .= "}\n";
}
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 7f269be3..b7d0addd 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -496,7 +496,7 @@
<build_pbi>
<port>net/openbgpd</port>
</build_pbi>
- <version>0.9.1</version>
+ <version>0.9.2</version>
<status>STABLE</status>
<pkginfolink>https://doc.pfsense.org/index.php/OpenBGPD_package</pkginfolink>
<required_version>2.2</required_version>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 967abf43..e764690b 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -668,7 +668,7 @@
<build_pbi>
<port>net/openbgpd</port>
</build_pbi>
- <version>0.9.1</version>
+ <version>0.9.2</version>
<status>STABLE</status>
<pkginfolink>https://doc.pfsense.org/index.php/OpenBGPD_package</pkginfolink>
<required_version>1.3</required_version>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 038a5c69..f02e5a4f 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -655,7 +655,7 @@
<build_pbi>
<port>net/openbgpd</port>
</build_pbi>
- <version>0.9.1</version>
+ <version>0.9.2</version>
<status>STABLE</status>
<pkginfolink>https://doc.pfsense.org/index.php/OpenBGPD_package</pkginfolink>
<required_version>1.3</required_version>