diff --git a/nodes/main.py b/nodes/main.py index 4de9e68..7dde7e6 100644 --- a/nodes/main.py +++ b/nodes/main.py @@ -227,8 +227,8 @@ class PeeringManager: else: return False, ret_code - def update_peering(self, asn, wg_key, MNT=NotSpecified, node=NotSpecified, endpoint=NotSpecified, ipv6ll=NotSpecified, ipv4=NotSpecified, ipv6=NotSpecified, bgp_mp=NotSpecified, bgp_enh=NotSpecified): - + def update_peering(self, ASN, wg_key, MNT=NotSpecified, node=NotSpecified, endpoint=NotSpecified, ipv6ll=NotSpecified, ipv4=NotSpecified, ipv6=NotSpecified, bgp_mp=NotSpecified, bgp_enh=NotSpecified): + asn = ASN try: if not asn in self.peerings: return False, 404 @@ -404,4 +404,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()