1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 20:27:22 +01:00

* ../src/res/configlets/linux24/update_addresses: fixes #1196

"shell function update_addresses_of_interface() does not ignore
virtual addresses of cluster inetrfaces". When generated iptables
script updates ip addresses of interfaces, it should ignore
addresses managed by vrrpd, heartbeat or other failover daemons.
The script did not ignore them and instead removed them from
interfaces.
This commit is contained in:
Vadim Kurland 2010-02-01 23:44:42 +00:00
parent 79510f71e1
commit 6efeea28ac
3 changed files with 10 additions and 2 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2486
#define BUILD_NUM 2487

View File

@ -1,5 +1,13 @@
2010-02-01 vadim <vadim@vk.crocodile.org>
* ../src/res/configlets/linux24/update_addresses: fixes #1196
"shell function update_addresses_of_interface() does not ignore
virtual addresses of cluster inetrfaces". When generated iptables
script updates ip addresses of interfaces, it should ignore
addresses managed by vrrpd, heartbeat or other failover daemons.
The script did not ignore them and instead removed them from
interfaces.
* objects_init.xml: fixes #1194 "Add standard address objects for
various multicast groups". Added address objects for standard
multicast groups OSPF, RIP, EIGRP, DHCP server / relay agent, PIM,

View File

@ -38,7 +38,7 @@ list_addresses_by_scope() {
scope=$2
ignore_list=$3
$IP addr ls dev $interface | \
awk -v IGNORED="\"$ignore_list\"" -v SCOPE="$scope" \
awk -v IGNORED="$ignore_list" -v SCOPE="$scope" \
'BEGIN {
split(IGNORED,ignored_arr);
for (a in ignored_arr) {ignored_dict[ignored_arr[a]]=1;}