Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 11:13:34 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Artyom Mirgorodskiy <artyom@ijminteractive.net>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: rev 244030 route command is not working
Message-ID:  <20121211071334.GS48639@glebius.int.ru>
In-Reply-To: <2837017.6IXeElfWaT@home.alkar.net>
References:  <2452291.zQQ4fSp1fM@home.alkar.net> <20121210134057.GN48639@FreeBSD.org> <2837017.6IXeElfWaT@home.alkar.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121211071334.GS48639>