mirror of https://github.com/sipwise/ngcpcfg.git
Configuring the identical shared IP once again shouldn't cause duplicate IP records, since e.g. nginx receives two "listen" lines with the same IP and fails hard then. New behaviour with this change is to avoid duplicates: | root@spce:~# ngcp-network --verbose --set-interface=eth0 --shared-ip=1.2.3.4 | [...] | adding IP entry shared_ip: 1.2.3.4 | [...] | root@spce:~# ngcp-network --verbose --set-interface=eth0 --shared-ip=1.2.3.4 | [...] | not setting shared_ip to 1.2.3.4 to avoid duplicates | [...] Change-Id: Iee3ff1e7a27bc3298128835468e1e888c327d13dchanges/45/5445/3
parent
3f1b490797
commit
4e3703660e
Loading…
Reference in new issue