From: Francois-Xavier Le Bail Date: Mon, 24 Jul 2023 10:26:42 +0000 (+0200) Subject: UDP: Sort #defines in header file by port number X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/89e2dcca1525179e0b4955d5403f5fb308004f4a UDP: Sort #defines in header file by port number --- diff --git a/udp.h b/udp.h index 88c581a2..9694e477 100644 --- a/udp.h +++ b/udp.h @@ -83,6 +83,9 @@ struct udphdr { #ifndef PTP_GENERAL_PORT #define PTP_GENERAL_PORT 320 /* IANA */ #endif +#ifndef HTTPS_PORT +#define HTTPS_PORT 443 +#endif #ifndef CISCO_AUTORP_PORT #define CISCO_AUTORP_PORT 496 /*XXX*/ #endif @@ -161,9 +164,6 @@ struct udphdr { #ifndef MPLS_LSP_PING_PORT #define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */ #endif -#ifndef BCM_LI_PORT -#define BCM_LI_PORT 49152 /* SDK default */ -#endif #ifndef BFD_CONTROL_PORT #define BFD_CONTROL_PORT 3784 /* RFC 5881 */ #endif @@ -251,6 +251,6 @@ struct udphdr { #ifndef SOMEIP_PORT #define SOMEIP_PORT 30490 /* https://www.autosar.org/standards/foundation */ #endif -#ifndef HTTPS_PORT -#define HTTPS_PORT 443 +#ifndef BCM_LI_PORT +#define BCM_LI_PORT 49152 /* SDK default */ #endif