tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ddb: rename show arptab to show routes



On Apr 13,  9:51am, ozaki-r%netbsd.org@localhost (Ryota Ozaki) wrote:
-- Subject: Re: ddb: rename show arptab to show routes

| On Tue, Apr 12, 2016 at 8:31 PM, Christos Zoulas <christos%astron.com@localhost> wrote:
| > In article <CAKrYomgH6rX02uHX+PWg==s3BwP0ThpmD+ykDO+-uvbHAek3Hg%mail.gmail.com@localhost>,
| > Ryota Ozaki  <ozaki-r%netbsd.org@localhost> wrote:
| >>Hi,
| >>
| >>show arptab command of ddb is now inappropriate
| >>because it actually dumps routes but arp entries
| >>aren't routes anymore. Though, the feature is useful.
| >>So I'd like to remain it as renamed to show routes
| >>and move the code from if_arp.c to route.c.
| >>
| >>How about the change? Comments?
| >>
| >>Here is a patch:
| >>  http://www.netbsd.org/~ozaki-r/ddb-show-routes.diff
| >
| > That's fine...
| 
| Thanks, committed.
| 
| > We could add db show arp too.
| 
| Sure. I'll do anytime soon (and ndp as well).

Thanks... The trick is to write in a way that they work from crash(8)...
I.e. read pointers and not follow them.

christos


Home | Main Index | Thread Index | Old Index