diff --git a/src/target/trx_toolkit/ctrl_if_bb.py b/src/target/trx_toolkit/ctrl_if_bb.py index 785636b2b..fe7f3e896 100644 --- a/src/target/trx_toolkit/ctrl_if_bb.py +++ b/src/target/trx_toolkit/ctrl_if_bb.py @@ -34,8 +34,8 @@ class CTRLInterfaceBB(CTRLInterface): tx_freq = None pm = None - def __init__(self, remote_addr, remote_port, bind_addr, bind_port): - CTRLInterface.__init__(self, remote_addr, remote_port, bind_addr, bind_port) + def __init__(self, *udp_link_args): + CTRLInterface.__init__(self, *udp_link_args) log.info("Init CTRL interface for BB (%s)" % self.desc_link()) def parse_cmd(self, request): diff --git a/src/target/trx_toolkit/ctrl_if_bts.py b/src/target/trx_toolkit/ctrl_if_bts.py index 2dde3e3a4..cb38b67ce 100644 --- a/src/target/trx_toolkit/ctrl_if_bts.py +++ b/src/target/trx_toolkit/ctrl_if_bts.py @@ -35,8 +35,8 @@ class CTRLInterfaceBTS(CTRLInterface): tx_freq = None pm = None - def __init__(self, remote_addr, remote_port, bind_addr, bind_port): - CTRLInterface.__init__(self, remote_addr, remote_port, bind_addr, bind_port) + def __init__(self, *udp_link_args): + CTRLInterface.__init__(self, *udp_link_args) log.info("Init CTRL interface for BTS (%s)" % self.desc_link()) def parse_cmd(self, request):