DragonFly BSD

CVS log for src/sbin/route/show.c

[BACK] Up to [DragonFly] / src / sbin / route

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 19 22:19:30 2006 UTC (8 years, 7 months ago) by dillon
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10, DragonFly_Preview
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +10 -3 lines
Add the '-c cpu' option to arp, netstat, and route, to allow the route
table for a specific cpu to be dumped.  Route tables are supposed to be
replicated and mostly identical.  Only cloned routes might not be replicated.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Mar 16 07:30:33 2005 UTC (9 years, 5 months ago) by cpressey
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +10 -9 lines
Style(9):
- Braces around multiline blocks.
- Spell NULL as NULL, not 0.
- Don't treat pointers and ints as booleans; use explicit tests.
- Minor whitespace adjustments.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 16 04:18:35 2005 UTC (9 years, 5 months ago) by cpressey
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +25 -21 lines
Raise WARNS to 6:

- Rename local variables to avoid conflicts with globals;
- Make local functions static;
- Add missing function prototypes;
- Remove stale function prototypes and struct declarations;
- Un-nest nested extern declarations;
- Constify some char *'s where appropriate;
- Resolve comparisons between signed and unsigned;
- Copy some strings into work buffers instead of returning
  a const char * from a function defined to return a char *.

Submitted-by: Sepherosa Ziehau <sepherosa_at_softhome_dot_net>
Some-tweaks-by: cpressey

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 23 18:25:51 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +19 -10 lines
Add -w, which prints the full width of the data being represented even if
it overflows the column, and do not truncate the base domain from displayed
host names.  This is for programmatic interfaces and for sysops
who really want to see the whole host name.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Mar 23 18:00:48 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +6 -5 lines
Make the Destination and Gateway columns wider when printing FQDNs so
the hostnames do not get cut-off too badly.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Mar 23 17:56:29 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Add 'route show' to the route command, plus style cleanups.

Submitted-by: Andre Nathan <andre@digirati.com.br>
Taken-from: OpenBSD and NetBSD

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options