aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/main.cc')
-rw-r--r--ncpd/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc
index b9eb5af..8c4de20 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -212,7 +212,7 @@ main(int argc, char **argv)
}
ncp *a = new ncp(serialDevice, baudRate, iow);
int numScp = 0;
- socketChan *scp[a->maxLinks() + 1];
+ socketChan *scp[257]; // MAX_CHANNELS_PSION + 1
a->setVerbose(nverbose);
a->setLinkVerbose(lverbose);