Skip to content

cmd: print the result of "ingress a" once, not for every port - #1015

Merged
feelfree69 merged 1 commit into
RTLPlayground:mainfrom
DrDoof:fix/ingress-all-print-once
Nov 26, 2026
Merged

feelfree69 merged 1 commit into
RTLPlayground:mainfrom
DrDoof:fix/ingress-all-print-once

Conversation

@DrDoof

@DrDoof DrDoof commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

ingress a prints "All ports ingress filter set to: Any" once for every port. The message sits inside the loop that sets the ports.

It is printed after the loop now.

In rtlsim on an RTL8373 board with nine ports the line comes nine times on main and once with this change.

The message that all ports were set sits inside the loop over the
ports, so it is printed after each of them.
@feelfree69
feelfree69 merged commit 9f0935d into RTLPlayground:main Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants