Re: [PATCH] Remove dead code in netstat from route.c

2011-07-12 Thread Alexander V. Chernikov
On 12.07.2011 11:10, Garrett Cooper wrote: On Mon, Jul 11, 2011 at 11:16 PM, Alexander V. Chernikov wrote: Garrett Cooper wrote: Hi, While trying to determine how to print out routes via kvm for net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite days that isn't execut

Re: [PATCH] Remove dead code in netstat from route.c

2011-07-12 Thread Garrett Cooper
On Mon, Jul 11, 2011 at 11:16 PM, Alexander V. Chernikov wrote: > Garrett Cooper wrote: >> Hi, >>     While trying to determine how to print out routes via kvm for >> net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite >> days that isn't executed in netstat as NewTree is always

Re: [PATCH] Remove dead code in netstat from route.c

2011-07-11 Thread Alexander V. Chernikov
Garrett Cooper wrote: > Hi, > While trying to determine how to print out routes via kvm for > net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite > days that isn't executed in netstat as NewTree is always 0. The > following patch removes that dead code and gets the FreeBSD so

[PATCH] Remove dead code in netstat from route.c

2011-07-11 Thread Garrett Cooper
Hi, While trying to determine how to print out routes via kvm for net-snmp, I noticed that there's a chunk of code from the 4.4 BSD Lite days that isn't executed in netstat as NewTree is always 0. The following patch removes that dead code and gets the FreeBSD source for netstat more in line wi