]> git.puffer.fish Git - mirror/frr.git/commit
lib: add 'no ... remark LINE' commands
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 1 May 2020 13:06:14 +0000 (10:06 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 5 Jun 2020 17:36:53 +0000 (14:36 -0300)
commitc7d3de9ff2e3c2741356825f72ff0ed3215e3a95
tree62236d8fba351341646c5f5214f36490d0a24cdd
parent1d7b156e7eea7dfeffd0176bf4dbd11755107e96
lib: add 'no ... remark LINE' commands

Implement the commands `no ... remark LINE` for cisco and zebra style
access lists to match `ipX prefix-list description LINE` command set.

It useful when you just want to go through the command history and
prepend a `no` to a `remark` or `description` command. Example:

```
access-list foo remark just another acl
!
! ...
!
! Suddenly we decide we no longer think that remark is useful,
! lets press up key to find that line in history and append `no`:
no access-list foo remark just another acl
```

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib/filter_cli.c