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

master
Aadhavan Srinivasan 8 months ago
parent f0e30f28e9
commit f3ad4fbf99

@ -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

Loading…
Cancel
Save