Hello,

Please find attached patch for nsh

feedback welcome as my C is rusty,

I hope this helps,

details of proposed patch outlined below


Architectures Compiled on:
AMD64

Compile errors / warnings
1) warning about an unused variable do  not want to delete code just yet
2) errors about '\0' Null pointers cleared
3) fixed compatibility with OpenBSD Current and tried to maintain backward
compatibility with release (using #ifdef   (March 11 commit in base
for IFXF_INET6_NOPRIVACY depreciated and replaced with IFXF_AUTOCONF6TEMP
4) fixed warning about self assigned variable with (void)ch;

Tested:
Manually tested on 6.9 beta current April 11 amd64

BUGS Resolved:
show version fixed as there was a sysctl incompatibility that
was throwing an error when "show version" command was run

Known Issues:
sysctl commands / functions need to be updated in line with changes in base
new interfaces to be added
arptimeout command  is not working

Enhancements:
increased the verbosity of the version displayed when running NSH
so it is easier for the user to see the version and patch level.


My sincere thanks to Chris Cappuccio for authoring and opensourcing NSH.

Attachment: nsh-1.0.2020106p0-RC
Description: Binary data

Reply via email to