DragonFly-2.1.1.438.ga80e8 master sbin/route route.c

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Fri Feb 20 08:59:00 PST 2009


> commit a80e869f444616b15f5685b343928be09b3b43bc
> Author: Hasso Tepper <hasso at estpak.ee>
> Date:   Sun Jan 18 15:21:45 2009 +0200
> 
>     Make "route add 0.0.0.0/X <gw>" where X > 0 work again.
> 
> Summary of changes:
>  sbin/route/route.c |   42 +++++++++++++++++++-----------------------
>  1 files changed, 19 insertions(+), 23 deletions(-)
> 
> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a80e869f444616b15f5685b343928be09b3b43bc

It breaks a bit non-intuitive way of adding default routes:
  route add 0.0.0.0 <gw>
  route add -net 0.0.0.0 <gw>

Cheers.





More information about the Commits mailing list