From 962a9f8cf350dd4105c49c31b0f53a2cf4371d8d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 18 Aug 2017 07:51:16 -0600 Subject: [PATCH] net/socket: Correct a typo in a macro definitions. --- net/socket/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/socket/socket.h b/net/socket/socket.h index 3dee2e3ffb..54e1c4daea 100644 --- a/net/socket/socket.h +++ b/net/socket/socket.h @@ -85,9 +85,9 @@ #define _SS_ISNONBLOCK(s) (((s) & _SF_NONBLOCK) != 0) #define _SS_ISLISTENING(s) (((s) & _SF_LISTENING) != 0) -#define _SS_ISBOUND(s) (((s) & _SF_CONNECTED) != 0) +#define _SS_ISBOUND(s) (((s) & _SF_BOUND) != 0) #define _SS_ISCONNECTED(s) (((s) & _SF_CONNECTED) != 0) -#define _SS_ISCLOSED(s) (((s) & _SF_CLOSED) != 0) +#define _SS_ISCLOSED(s) (((s) & _SF_CLOSED) != 0) /* This macro converts a socket option value into a bit setting */