diff options
| author | paco <paco@voltanet.io> | 2018-06-18 15:52:57 +0200 |
|---|---|---|
| committer | paco <paco@voltanet.io> | 2018-06-18 15:52:57 +0200 |
| commit | 73aed5841a1fe31e8a1f251dfcf87e1f2b1f2463 (patch) | |
| tree | 7f649c7db93ab41f332d58377ff21907dd5ae5ec /lib/command_py.c | |
| parent | 6389e663e9b8971d5afa75d6afa18f5152c6de1b (diff) | |
bgpd: vpn null check
Can be reproduced with following vtysh sequence (an intentionaly wrong
sequence):
['configure terminal\n router bgp 255 vrf l3vrf-6\n',
'configure terminal\n router bgp 255 vrf l3vrf-6\nbgp router-id 10.255.255.1\n',
'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nlabel vpn export 45000\n',
'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nrd vpn export 255:5\n',
'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nredistribute isis\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nredistribute ospf\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nredistribute connected\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nimport vpn\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nexport vpn\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nrt vpn import 255:1\n', 'configure terminal\n router bgp 255 vrf l3vrf-6\n address-family ipv4\nrt vpn export 255:1\n'
]
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
