Commits


fix double-indentation of config file rules when config gets saved


don't let a potential error in set_ifflags() clobber the errno we need


trim a comment which went beyond 80 columns


fix whitespace issues


if.c - vlan parent devices automatically disable disable the child interface and change parent and enable interface after the change made... issue reported by Tom... fix authored by stsp tested by Tom and reviewed OK Tom and OK Chris


preserve only manually added ndp table entries in startup config nsh was mistakenly adding all ndp table entries to startup-config when the configuration was saved with write-config. This results in spurious 'permanent' ndp entries when the written config is loaded. If you find spurious permanent ndp entries on your system these entries must be removed via 'no ndp <IPv6 address>', then use 'write-config' to save the fixed the configuration. Alternatively, remove all lines which set unwanted permanent NDP entries from /etc/nshrc and reboot. Problem reported and fix tested by Tom. ok Tom


Merge pull request #164 from smytht/systat-feature add show system-stats commands Ok Stsp@


Update cmdargs.c Use proper english :) initialised not initalized and give an informative error


update nsh.8 to improve examples in standard width console screen


oops, fix typo in previous which broke the build


add show system-stats commands This is to allow nsh users to avail of systat functionality useful for queue stats and pf stats added full suite of systat features except nfs as I dont think those features are as interesting for a network appliance


fix rtable number shown in error message when switching rdomains fails


version bump for release 1.2.3


fix misspelling of privileged (sorry)


update version for release add example of help for config mode


don't skip empty lines in rules which store file contents When file contents were stored in /etc/nshrc in a rules directive, such as contents of /etc/motd or sshd_config, empty lines were being stripped. ok Tom


make the rtable command actually update the rtable of the nsh process The assumption that nsh always runs in rdomain 0 is invalid. Stop assuming that cli_rtable is set to zero by default, and switch the nsh process rdomain accordingly as needed. Tests + ok Tom


on startup, initialize cli_rtable to the current rdomain Fixes behaviour when nsh starts in a non-default rdomain. We used to assume to start out in rdomain 0, which is not necessarily the case. ok Tom


use cli_rtable to construct the bgp socket path, not getrtable(2) ok Tom


remove fallback code for OpenBSD 6.8 and earlier


remove references to dhclient(8); obsolete since OpenBSD 7.2 Should fix github issue #163 as a side effect


Merge pull request #161 from smytht/logger add logger command for entering messages into the ..


Update extensive-nsh-openbsd-integrate.sh move motd on import move /etc/motd on import so the sym link works then


add logger command for entering messages into the .. system log or /var/log/messages


honour DESTDIR in 'make install' target