From 708f7aebed1e8fb945cf65ef468aaacb8d3b6ab7 Mon Sep 17 00:00:00 2001 From: Andreas Tonnesen Date: Wed, 14 Feb 2007 09:09:16 +0000 Subject: [PATCH] 2nd half of fix from John Hay --- src/bsd/kernel_routes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bsd/kernel_routes.c b/src/bsd/kernel_routes.c index b0ed1cf6..07d047a6 100644 --- a/src/bsd/kernel_routes.c +++ b/src/bsd/kernel_routes.c @@ -36,7 +36,7 @@ * to the project. For more information see the website or contact * the copyright holders. * - * $Id: kernel_routes.c,v 1.8 2006/12/12 11:20:53 kattemat Exp $ + * $Id: kernel_routes.c,v 1.9 2007/02/14 09:09:16 kattemat Exp $ */ @@ -253,7 +253,7 @@ static int add_del_route6(struct rt_entry *dest, int add) rtm->rtm_msglen = (unsigned short)(walker - buff); - len = write(rts, buff, rtm->rtm_msglen); + len = write(olsr_cnf->rts, buff, rtm->rtm_msglen); if (len < rtm->rtm_msglen) fprintf(stderr, "cannot write to routing socket: %s\n", strerror(errno)); -- 2.20.1