Skip to content

Commit 17fa884

Browse files
committed
Add offset initialization in calc function for better prefix handling
1 parent 16750d3 commit 17fa884

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

root/usr/sbin/fleth-map-e.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@ local function calc(prefix)
912912
table.insert(ipaddr, 0)
913913
ip6prefixlen = 38
914914
psidlen = 6
915+
offset = 6
915916
else
916917
print("UNKNOWN")
917918
return

0 commit comments

Comments
 (0)