From bac957d1bf9f500c7e39ea356fc41292ce7568d6 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 27 Sep 2024 16:53:32 +0200 Subject: [PATCH] cli: minor, fix tcpdump permissions from exec as admin Signed-off-by: Joachim Wiberg --- doc/ChangeLog.md | 2 ++ src/klish-plugin-infix/xml/infix.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog.md b/doc/ChangeLog.md index 582d86a1..621c4b07 100644 --- a/doc/ChangeLog.md +++ b/doc/ChangeLog.md @@ -83,6 +83,8 @@ documentation for details. interface changes (tries to delete both ends of the pair) - Spellcheck path to `/var/lib/containers` when unpacking OCI archives on container upgrade +- cli: restore `tcpdump` permissions for administrator level users, + regression introduced in v24.08.0 - The timeout before giving up on loading the `startup-config` at boot is now 1 minute, just like operations via other front-ends (NETCONF and RESTCONF). This was previously (incorrectly) set to 10 seconds diff --git a/src/klish-plugin-infix/xml/infix.xml b/src/klish-plugin-infix/xml/infix.xml index fd29468e..2ceb890f 100644 --- a/src/klish-plugin-infix/xml/infix.xml +++ b/src/klish-plugin-infix/xml/infix.xml @@ -528,7 +528,7 @@ count=${KLISH_PARAM_cnt:+-c $KLISH_PARAM_cnt} size=${KLISH_PARAM_sz:+-s $KLISH_PARAM_sz} verbose=${KLISH_PARAM_verbose:+-vvv} - tcpdump -ln $count $size $verbose -i $KLISH_PARAM_iface $KLISH_PARAM_expr + doas tcpdump -ln $count $size $verbose -i $KLISH_PARAM_iface $KLISH_PARAM_expr