Change subnet configuration as per new format in open5gs

This commit is contained in:
herlesupreeth
2024-08-22 10:00:42 +02:00
parent 68c44433c1
commit 1644fc8554
7 changed files with 31 additions and 17 deletions

View File

@@ -60,8 +60,7 @@ def start(ip_range):
raise ValueError('Invalid UE IPv4 range. Only one IP given')
else:
first_ip_addr = first_ip_addr.exploded
ip_netmask_prefix = ip_range.prefixlen
print(str(first_ip_addr) + '/' + str(ip_netmask_prefix))
print(str(first_ip_addr))
if __name__ == '__main__':
try: