diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-28 12:39:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-28 12:39:12 +0200 |
| commit | 3e717bd02472b6c8bb52155db2292aa158d8064b (patch) | |
| tree | 6f1753091b0e124936b66c5c2f8784327fa1caaa /lib/vty.c | |
| parent | 2801239675c84e0a674d6c3905c8e6e9e9220bc7 (diff) | |
| parent | c8191b7c00bce5a4e037d76ec6d8f3a71eb633b3 (diff) | |
Merge pull request #12407 from FRRouting/mergify/bp/stable/8.4/pr-12403
Echo exclusion (backport #12403)
Diffstat (limited to 'lib/vty.c')
| -rw-r--r-- | lib/vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -444,7 +444,8 @@ static int vty_command(struct vty *vty, char *buf) /* * Log non empty command lines */ - if (do_log_commands) + if (do_log_commands && + strncmp(buf, "echo PING", strlen("echo PING")) != 0) cp = buf; if (cp != NULL) { /* Skip white spaces. */ |
