From 1ad6fc2976c6e5eedb248769e4b1f48e33c75346 Mon Sep 17 00:00:00 2001 From: JuanJo Ciarlante Date: Tue, 20 Oct 2009 22:38:50 +0200 Subject: * no new funcionality, just small cleanups: - cmdline options help: add tcp6/udp6 missing messages - win32: expand usage of proto_is_udp(), proto_is_tcp() - replace some memset(&obj, 0, sizeof obj) by openvpn's CLEAR(obj) --- mroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mroute.c') diff --git a/mroute.c b/mroute.c index a2c66f3..56e01a2 100644 --- a/mroute.c +++ b/mroute.c @@ -365,7 +365,7 @@ mroute_addr_print_ex (const struct mroute_addr *ma, struct sockaddr_in6 sin6; int port; char buf6[INET6_ADDRSTRLEN] = ""; - memset(&sin6, 0, sizeof sin6); + CLEAR(sin6); sin6.sin6_family = AF_INET6; buf_set_read (&buf, maddr.addr, maddr.len); if (buf_read(&buf, &sin6.sin6_addr, sizeof (sin6.sin6_addr))) -- cgit