Skip to content
Snippets Groups Projects
Commit 7f800c7b authored by BRONES Romain's avatar BRONES Romain
Browse files

fix: ccnpack config on central node enum

* For lab test, where number of interface is one
parent 99f91cbe
Branches
Tags
No related merge requests found
......@@ -261,7 +261,7 @@ def centralnode_configure_ccn(nbpm=None, npsc=None):
npsc = getconf("npsc", "ccn", 'centralnode', 'i')
logger.debug("{} psc allowed in the ethernet frame on {}".format(nbpm, p))
for n in range(4):
for n in range(len(nbpm)):
maclen = npsc*6+10
logger.debug("Configure packeter {} framesize (mac length) to {}".format(n, maclen))
prx["ccnpack{}_framesize".format(n)] = maclen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment