Hi!
Oliver> I added a new 'show tunnel' command which prints tunnelIfTable Oliver> in a readable format. It was tested against UCD-SNMP 4.2 with Oliver> Frank Strauss' tunnel MIB implementation.
Oliver> The patch can be found at: Oliver> http://www.ibr.cs.tu-bs.de/~wellnitz/stools-0.1.12-tunnel.diff.gz
Oliver> I know little about C and virtually nothing about SNMP, so any Oliver> comments or improvements are welcome.
Cool! Just a few quick comments (I did not look at the code)...
o I suggest to register the command as `show interface tunnel' instead of `show tunnel'.
o stools want to be as friendly to the user as possible, hence I suggest to represent the interface column not by the ifIndex number but by the interface `name'.
o For HopLimit (TTL) values of zero print `CP' just as for -1 in the TOS field.
o Do you print `TC' (traffic conditioner) for TOS values of -2?
o Print words in table headers with uppercase first letters as in other tables like tcp connections or system storage.
-frank -- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.