diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-05-22 18:35:32 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-05-22 18:35:32 -0700 |
commit | df805435059fce399a070dab8d8497d0ec72b951 (patch) | |
tree | 2a298f368cf1e71e30b27a743f30561e792c61b5 /scripts/keepalived | |
parent | 6696d2352b157a869bcbe96a364aaf6b65cf9770 (diff) | |
download | vyatta-cfg-quagga-df805435059fce399a070dab8d8497d0ec72b951.tar.gz vyatta-cfg-quagga-df805435059fce399a070dab8d8497d0ec72b951.zip |
Make vrrp pcap filter more specific.
Diffstat (limited to 'scripts/keepalived')
-rwxr-xr-x | scripts/keepalived/VyattaKeepalived.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/keepalived/VyattaKeepalived.pm b/scripts/keepalived/VyattaKeepalived.pm index 78421723..f4065766 100755 --- a/scripts/keepalived/VyattaKeepalived.pm +++ b/scripts/keepalived/VyattaKeepalived.pm @@ -42,7 +42,7 @@ sub snoop_for_master { my $file = get_master_file($intf, $group); - my $cap_filt = "-f \"host 224.0.0.18 and proto VRRP\""; + my $cap_filt = "-f \"host 224.0.0.18 and proto VRRP and ip[21:1] = $group\""; my $dis_filt = "-R \"vrrp.virt_rtr_id == $group and vrrp.ip_addr == $vip\""; my $options = "-a duration:$timeout -p -i$intf -c1 -T pdml"; my $cmd = "tshark $options $cap_filt $dis_filt"; |