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)
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to