Skip to content

Commit 466df79

Browse files
committed
[nrf noup] include: net: socket_ncs: reduce NCS_BASE
Reduces the NCS_BASE to a lower number to simplify those use cases where certain applications would let the user input the socket option name by number. The base is still high enough to prevent collisions with Zephyr's own socket options for many years. Signed-off-by: Mirko Covizzi <[email protected]>
1 parent 10eb60b commit 466df79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/net/socket_ncs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727

2828
/** Define a base for NCS specific socket options to prevent overlaps with Zephyr's socket options.
2929
*/
30-
#define NET_SOCKET_NCS_BASE 1000000000
30+
#define NET_SOCKET_NCS_BASE 1000
3131

3232
/* NCS specific TLS level socket options */
3333

0 commit comments

Comments
 (0)