]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP2: Update the default port number for DPP-over-TCP
authorJouni Malinen <jouni@codeaurora.org>
Tue, 20 Oct 2020 21:29:38 +0000 (00:29 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 20 Oct 2020 21:29:38 +0000 (00:29 +0300)
IANA assigned the TCP port 8908 for DPP, so update the implementation to
match the formal assignment.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.h

index 649c5ddde08ac485139192386d7a51fd1eb80dab..2fd331b1a55d7d772d76a8691415290531a4ef2a 100644 (file)
@@ -35,7 +35,7 @@ extern int dpp_version_override;
 #endif /* CONFIG_TESTING_OPTIONS */
 
 #define DPP_HDR_LEN (4 + 2) /* OUI, OUI Type, Crypto Suite, DPP frame type */
-#define DPP_TCP_PORT 7871
+#define DPP_TCP_PORT 8908
 
 enum dpp_public_action_frame_type {
        DPP_PA_AUTHENTICATION_REQ = 0,