aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/LoadBalancerUtil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/LoadBalancerUtil.py b/resources/libraries/python/LoadBalancerUtil.py
index c8e6c0ddd7..340afe50a3 100644
--- a/resources/libraries/python/LoadBalancerUtil.py
+++ b/resources/libraries/python/LoadBalancerUtil.py
@@ -117,7 +117,7 @@ class LoadBalancerUtil:
args = dict(
pfx={
u"len": 128,
- u"address": {u"un": {u"ip": vip_addr}, u"af": 0}
+ u"address": {u"un": {u"ip4": vip_addr}, u"af": 0}
},
protocol=protocol,
port=port,
@@ -174,11 +174,11 @@ class LoadBalancerUtil:
args = dict(
pfx={
u"len": 128,
- u"address": {u"un": {u"ip": vip_addr}, u"af": 0}
+ u"address": {u"un": {u"ip4": vip_addr}, u"af": 0}
},
protocol=protocol,
port=port,
- as_address={u"un": {u"ip": as_addr}, u"af": 0},
+ as_address={u"un": {u"ip4": as_addr}, u"af": 0},
is_del=is_del,
is_flush=is_flush
)