-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cisco IOS: do not crash on malformed pool (#6568)
- Loading branch information
1 parent
8322769
commit f31dab4
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...s/batfish/src/test/resources/org/batfish/grammar/cisco/testconfigs/ios-nat-malformed-pool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
hostname ios-nat-malformed-pool | ||
|
||
interface Ethernet1 | ||
ip nat outside | ||
ip address 3.3.3.3 255.255.255.248 | ||
|
||
ip access-list standard LIST | ||
permit 1.1.1.1 0.0.0.255 | ||
! Note the pool is not a valid range | ||
ip nat pool SNOOKER 10.1.1.10 10.1.1.5 netmask 255.255.255.0 | ||
ip nat outside source list LIST pool SNOOKER |