-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugFix: Update vyatta_vyos_show_interfaces to match addresses without…
… netmask
- Loading branch information
Showing
3 changed files
with
46 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Value INTERFACE (\S+) | ||
Value List IP_ADDRESS ((?:[A-Fa-f0-9:\.]+\/\d+)|-) | ||
Value List IP_ADDRESS (\S+) | ||
Value STATUS (\S+) | ||
Value DESCRIPTION (.+?) | ||
|
||
Start | ||
^Codes: | ||
^Interface\s+IP\s+Address\s+S/L\s+Description\s*$$ -> Interface | ||
^Interface\s+IP\s+Address\s+S/L\s+Description | ||
^-+\s+-+\s+-+\s+-+$$ -> Interface | ||
^\s*$$ | ||
^. -> Error | ||
|
||
Interface | ||
^\S+\s+ -> Continue.Record | ||
^${INTERFACE}\s+${IP_ADDRESS}\s+${STATUS}\s+(${DESCRIPTION}|)\s*$$ | ||
^\s+${IP_ADDRESS}\s*$$ | ||
^-+\s+-+\s+-+\s+-+$$ | ||
^\s*$$ | ||
^. -> Error |
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