Skip to content

Commit

Permalink
pbr: improve status_service output
Browse files Browse the repository at this point in the history
Signed-off-by: Stan Grishin <[email protected]>
  • Loading branch information
stangri committed Dec 11, 2024
1 parent 441a0c1 commit 3f3d907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/pbr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=pbr
PKG_VERSION:=1.1.7
PKG_RELEASE:=65
PKG_RELEASE:=67
PKG_LICENSE:=AGPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions net/pbr/files/etc/init.d/pbr
Original file line number Diff line number Diff line change
Expand Up @@ -2332,6 +2332,7 @@ status_service() {
# echo "$_SEPARATOR_"
# ip rule list | grep "${packageName}_"
echo "$_SEPARATOR_"
echo "$packageName tables & routing"
tableCount="$(grep -c "${packageName}_" "$rtTablesFile")" || tableCount=0
wan_tid=$(($(get_rt_tables_next_id)-tableCount))
i=0; while [ "$i" -lt "$tableCount" ]; do
Expand Down

0 comments on commit 3f3d907

Please sign in to comment.