diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-08-28 10:59:02 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 21:30:42 +0200 |
commit | ae9eebcaeb68cae4f2e4ae6cc689b505c9814591 (patch) | |
tree | e5d35c2e985f90134fa3cb5a0912ebfba0a4df7b /python | |
parent | *: fix config.h/zebra.h include order (diff) | |
download | frr-ae9eebcaeb68cae4f2e4ae6cc689b505c9814591.tar.xz frr-ae9eebcaeb68cae4f2e4ae6cc689b505c9814591.zip |
*: fix some solaris warnings
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'python')
-rw-r--r-- | python/clidef.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/clidef.py b/python/clidef.py index 4134f4c94..a140ce3d5 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 *' |