summaryrefslogtreecommitdiff
path: root/cMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'cMain.c')
-rw-r--r--cMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cMain.c b/cMain.c
index abab877..7ca9e2e 100644
--- a/cMain.c
+++ b/cMain.c
@@ -2213,7 +2213,7 @@ L2Packet:
// Bridge if requested
- for (toPort = 1; toPort <= NUMBEROFPORTS; toPort++)
+ for (toPort = 1; toPort <= MaxBPQPortNo; toPort++)
{
if (BridgeMap[CURRENTPORT][toPort])
{