diff options
Diffstat (limited to 'lib/if.c')
-rw-r--r-- | lib/if.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -620,9 +620,7 @@ DEFUN (show_address, struct connected * connected_new (void) { - struct connected *new = XMALLOC (MTYPE_CONNECTED, sizeof (struct connected)); - memset (new, 0, sizeof (struct connected)); - return new; + return XCALLOC (MTYPE_CONNECTED, sizeof (struct connected)); } /* Free connected structure. */ |