summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-12 21:58:39 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-12 21:58:39 +0200
commite991eff5b5773e8a85c3f4c4f92c09fe30cf680b (patch)
treeab98bf44cfc7611ad7cc699396674554f150db43 /python/clidef.py
parent364fed6b074a702f21e190cb7aff33e13c65e808 (diff)
parent7aab2afbad2f25c128e9e608766b407f6bd34c89 (diff)
Merge remote-tracking branch 'frr/master' into warnings
Conflicts: zebra/if_ioctl_solaris.c zebra/rtread_getmsg.c Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'python/clidef.py')
-rw-r--r--python/clidef.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/clidef.py b/python/clidef.py
index 4134f4c94e..a140ce3d54 100644
--- a/python/clidef.py
+++ b/python/clidef.py
@@ -96,7 +96,7 @@ class IP4Handler(IPBase):
code = Template('_fail = !inet_aton(argv[_i]->arg, &$varname);')
class IP6Handler(IPBase):
argtype = 'struct in6_addr'
- decl = Template('struct in6_addr $varname = IN6ADDR_ANY_INIT;')
+ decl = Template('struct in6_addr $varname = {};')
code = Template('_fail = !inet_pton(AF_INET6, argv[_i]->arg, &$varname);')
class IPGenHandler(IPBase):
argtype = 'const union sockunion *'