diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2014-12-04 22:18:42 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2014-12-04 22:18:42 +0000 |
commit | 0730a384b600b122a49c9c2332544cfaa71780cb (patch) | |
tree | 3aabd34b2b2a3d59854e81944c2cad438f806be5 /lib | |
parent | e8b6f69422f26b85008e640a3d8f6f4726571db6 (diff) | |
download | vyatta-cfg-vpn-0730a384b600b122a49c9c2332544cfaa71780cb.tar.gz vyatta-cfg-vpn-0730a384b600b122a49c9c2332544cfaa71780cb.zip |
vyatta-cfg-vpn: reduce the vti mark base to prevent integer overflow
Reduce the vtiMarkBase value to prevent integer overflow on the created
ip xfrm states and policies.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/VPN/vtiIntf.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/VPN/vtiIntf.pm b/lib/Vyatta/VPN/vtiIntf.pm index 68ad8cb..dcfa235 100755 --- a/lib/Vyatta/VPN/vtiIntf.pm +++ b/lib/Vyatta/VPN/vtiIntf.pm @@ -33,7 +33,7 @@ my %existingVtiName = (); my %existingVtibyName = (); my %existingVtiMark = (); my @VtiMarks; -my $vtiMarkBase = 0x90000000; +my $vtiMarkBase = 0x900000; my $maxMarks = 2048; sub discoverVtiIntfs { |