History log of /freebsd-10-stable/sbin/route/route.c
Revision Date Author Comments
# 330498 05-Mar-2018 eugen

MFC r329930: route(8): make it possible to manually delete pinned route

Reported by: Andreas Longwitz <longwitz@incore.de>
Approved by: avg (mentor)


# 316042 27-Mar-2017 ngie

MFC r315690:

Delete trailing whitespace (no functional change)


# 293208 05-Jan-2016 rstone

MFC r287920:

Fix /sbin/route to never look up (invalid) interface names through DNS

/sbin/route has a bug where if it is passed an interface name that does
not exist, it falls through and winds up interpreting it as a hostname.
It fails out eventually, but on a system where DNS lookup is broken you
can end up waiting for up to 60 seconds waiting for the DNS lookup to
timeout. I'm not quite sure what happens if the DNS lookup somehow
succeeds but I doubt that can end well.

Reviewed by: markj, cem
MFC after: 2 weeks
Sponsored by: EMC/Isilon Storage Division


# 272853 09-Oct-2014 hrs

MFC r256715:
Use long explicitly for the time difference.


# 272852 09-Oct-2014 hrs

MFC r256695:
- Add relative specification in expiration time.
- Add proto3 option for RTF_PROTO3.
- Use %lu for members of struct rt_metrics.


# 270050 16-Aug-2014 bz

MFC r264539:

When switching variables to flags in r243185 a few cases were missed.
After r263152 (in head) this leaves unused variables if route(8) is
compiled without INET support.
Switch the remaining variable accesses to flags and remove now obsolete
variables.

Reviewed by: glebius


# 265701 08-May-2014 melifaro

Merge r260524,r260540

r260524:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).

r260540:
Bump dates in nestat(1) and route(8) man pages.
Fix several small errors introduced by r260524.

Suggested by: glebius


# 272853 09-Oct-2014 hrs

MFC r256715:
Use long explicitly for the time difference.


# 272852 09-Oct-2014 hrs

MFC r256695:
- Add relative specification in expiration time.
- Add proto3 option for RTF_PROTO3.
- Use %lu for members of struct rt_metrics.


# 270050 16-Aug-2014 bz

MFC r264539:

When switching variables to flags in r243185 a few cases were missed.
After r263152 (in head) this leaves unused variables if route(8) is
compiled without INET support.
Switch the remaining variable accesses to flags and remove now obsolete
variables.

Reviewed by: glebius


# 265701 08-May-2014 melifaro

Merge r260524,r260540

r260524:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).

r260540:
Bump dates in nestat(1) and route(8) man pages.
Fix several small errors introduced by r260524.

Suggested by: glebius