summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2002-07-13 16:32:13 +0000
committerkrw <krw@openbsd.org>2002-07-13 16:32:13 +0000
commit032e928d7db8be8abdc191d0dd668cf033c92917 (patch)
treee192f8f600f78753071369c0422ebb89887a5dee /sys
parentpci_intr_establish() is a macros on some archs and ifdef w/in the macro args does not work (diff)
downloadwireguard-openbsd-032e928d7db8be8abdc191d0dd668cf033c92917.tar.xz
wireguard-openbsd-032e928d7db8be8abdc191d0dd668cf033c92917.zip
Cleanup/Shrinkage.
1) Eliminate more if's in favour of 'cond || stmt' or 'cond && stmt' constructs. 2) Global _didnet -> DIDNET, make local _nam a local. 3) Display 'DHCP not supported' error every time user specifies 'dhcp' but the client is not present. 4) if if_extra is empty, that's ok, so just assign $resp to it whether $resp is empty or not. 5) Check for DIDNET inside donetconfig() instead of before each call to donetconfig. 6) Eliminate superfluous 'Aborting' comments, and let the user draw their own conclusion from getting the 'Extract more sets' message. 7) Minor code tweaks like not continually assigning $resp to a value in a loop, when all we want is the final value, and only displaying 'Skipping' message in tape installs if we are actually skipping files, etc.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions