Defined constants for TCP and UDP, instead of using the characters themselves

This commit is contained in:
2024-02-21 22:27:23 -05:00
parent f0e30f28e9
commit f3ad4fbf99

View File

@@ -18,8 +18,8 @@
/* Constants that can be used in place of characters, when specifying
the transport layer protocol */
const char ES_TCP 'T';
const char ES_UDP 'U';
const char ES_TCP = 'T';
const char ES_UDP = 'U';
/* This function takes:
a layer 3 - network layer - integer, which must be '4' for IPv4