svn commit: r253237 - stable/9/sbin/route

Hiroki Sato hrs at FreeBSD.org
Fri Jul 12 01:29:58 UTC 2013


Author: hrs
Date: Fri Jul 12 01:29:57 2013
New Revision: 253237
URL: http://svnweb.freebsd.org/changeset/base/253237

Log:
  MFC 251581:
  
  Fix a bug that the gateway address was not shown when a -gateway modifier
  was used.

Modified:
  stable/9/sbin/route/route.c
Directory Properties:
  stable/9/sbin/route/   (props changed)

Modified: stable/9/sbin/route/route.c
==============================================================================
--- stable/9/sbin/route/route.c	Fri Jul 12 01:27:11 2013	(r253236)
+++ stable/9/sbin/route/route.c	Fri Jul 12 01:29:57 2013	(r253237)
@@ -895,6 +895,7 @@ newroute(int argc, char **argv)
 				if (!--argc)
 					usage(NULL);
 				getaddr(RTA_GATEWAY, *++argv, 0, nrflags);
+				gateway = *argv;
 				break;
 			case K_DST:
 				if (!--argc)


More information about the svn-src-stable mailing list