diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-06 14:52:09 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-06 14:52:09 +0100 |
commit | 17b711e6e4a4d5ce3728a07890434d890ebb76b4 (patch) | |
tree | 08cfca15e89819e5ec01ec087fa31dbf565e7123 | |
parent | 8fea5ca7104c0d95108947661a4991b61b2ee06e (diff) | |
download | quagga-17b711e6e4a4d5ce3728a07890434d890ebb76b4.tar.bz2 quagga-17b711e6e4a4d5ce3728a07890434d890ebb76b4.tar.xz |
Fix multiple -l parameter addresses
The -l parameter now accepts multiple listen addresses,
separated by commas.
And empty listen address counts as <any>.
-rw-r--r-- | bgpd/bgp_network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index b929bf14..d969a69b 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -145,7 +145,7 @@ bgp_open_listeners(const char* address, unsigned short port) while (next != NULL) { this = next ; - next = strchr(address, ',') ; + next = strchr(this, ',') ; if (next != NULL) *next++ = '\0' ; |