diff --git a/p4src/checksum_diff.p4 b/p4src/checksum_diff.p4 index 5ee9d2f..ee91c41 100644 --- a/p4src/checksum_diff.p4 +++ b/p4src/checksum_diff.p4 @@ -5,7 +5,7 @@ #include "headers.p4" #include "settings.p4" -#define NICO_DELTA_CHECKSUM 1 +#define USE_NICO_DELTA_CHECKSUM 1 /************************************************************************* * Parser @@ -193,7 +193,7 @@ control MyIngress(inout headers hdr, } } if(hdr.udp.isValid()) { - #ifdef NICO_DELTA_CHECKSUM + #ifdef USE_NICO_DELTA_CHECKSUM v4sum(); v6sum(); bit<16> diff = meta.v6sum - meta.v4sum;