Skip to content

Commit

Permalink
Fix pfring zc interface name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyech committed Oct 22, 2024
1 parent f3e4498 commit a1901d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start_zbalance_ipc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

check_ZC_driver() {
ifcname="$1"
if [[ $ifc = "zc:"* ]]; then
if [[ $ifcname = "zc:"* ]]; then
ifcname="${ifcname#zc:}"
fi
if grep -q "ZC" "/proc/net/pf_ring/dev/${ifcname}/info"; then
Expand Down

0 comments on commit a1901d0

Please sign in to comment.