From 9607536dbf7c50f9c2fc7a670eab51e5c313d10f Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 31 May 1999 19:43:08 +0000 Subject: Kill duplicity between rif and rif_patt. --- proto/rip/config.Y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/rip/config.Y') diff --git a/proto/rip/config.Y b/proto/rip/config.Y index a3e877d..c00ecc5 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -93,8 +93,8 @@ CF_CODE void rip_dev_add_iface(char *n) { - struct rip_patt *k = cfg_alloc(sizeof(struct rip_patt)); - + struct rip_patt *k = cfg_allocz(sizeof(struct rip_patt)); + k->metric = 1; k->i.pattern = cfg_strdup(n); add_tail(&RIP_CFG->iface_list, &k->i.n); } -- cgit v1.2.3