From owner-freebsd-current@FreeBSD.ORG Tue Dec 11 07:13:44 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA39E692 for ; Tue, 11 Dec 2012 07:13:44 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1D3338FC0C for ; Tue, 11 Dec 2012 07:13:43 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id qBB7DZ7l090299; Tue, 11 Dec 2012 11:13:35 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id qBB7DYUr090298; Tue, 11 Dec 2012 11:13:34 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 11 Dec 2012 11:13:34 +0400 From: Gleb Smirnoff To: Artyom Mirgorodskiy Subject: Re: rev 244030 route command is not working Message-ID: <20121211071334.GS48639@glebius.int.ru> References: <2452291.zQQ4fSp1fM@home.alkar.net> <20121210134057.GN48639@FreeBSD.org> <2837017.6IXeElfWaT@home.alkar.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="mSxgbZZZvrAyzONB" Content-Disposition: inline In-Reply-To: <2837017.6IXeElfWaT@home.alkar.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 07:13:44 -0000 --mSxgbZZZvrAyzONB Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Artyom, can you please run route with attached patch and show output? -- Totus tuus, Glebius. --mSxgbZZZvrAyzONB Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="route.c.diff" Index: route.c =================================================================== --- route.c (revision 244082) +++ route.c (working copy) @@ -325,6 +325,7 @@ goto fiboptlist_csv_ret; } snprintf(str, ALLSTRLEN - 1, "%d", defaultfib); + printf("%s: arg %s, ret %d, str \"%s\"\n", __func__, arg, error, str); } else str = strdup(arg); @@ -350,6 +351,7 @@ TAILQ_INSERT_TAIL(flh, fl, fl_next); } } + printf("%s: arg %s, ret %d, str \"%s\"\n", __func__, arg, error, str); fiboptlist_csv_ret: free(str); return (error); --mSxgbZZZvrAyzONB--