git: wg: Port #29: change 'ENOTCAPABLE' to 'ENOENT' for 'ENOKEY'

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:31 PST 2024


commit 859132972ffb7fa66abcf1f408063e67e7068314
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Nov 25 22:10:04 2023 +0800

    wg: Port #29: change 'ENOTCAPABLE' to 'ENOENT' for 'ENOKEY'
    
    The 'ENOTCAPABLE' is FreeBSD-specific and means 'capabilities
    insufficient'.  We don't have that errno, so use ENOENT instead,
    which I think is also reasonable.

Summary of changes:
 sys/net/wg/if_wg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/859132972ffb7fa66abcf1f408063e67e7068314


-- 
DragonFly BSD source repository


More information about the Commits mailing list