diff options
-rw-r--r-- | usr.sbin/bgpd/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/config.c b/usr.sbin/bgpd/config.c index 23497417e5f..3310f4e620f 100644 --- a/usr.sbin/bgpd/config.c +++ b/usr.sbin/bgpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.30 2004/03/02 19:45:04 henning Exp $ */ +/* $OpenBSD: config.c,v 1.31 2004/03/03 10:13:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -198,6 +198,7 @@ host_v6(const char *s, struct bgpd_addr *h) h->scope_id = ((struct sockaddr_in6 *)res->ai_addr)->sin6_scope_id; + freeaddrinfo(res); return (1); } |