X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-classifier.c;h=9af8aacba08b6ca01326f38d141af5e1f411f507;hb=fb0b29a3c9515d3a774e89f9e3e044fb58724cbc;hp=e1f93a09d95afb21d056f15bcfb6cce5cbf2f689;hpb=8368c090cab8b604818cc3db321f1ed8531f27a4;p=openvswitch diff --git a/tests/test-classifier.c b/tests/test-classifier.c index e1f93a09..9af8aacb 100644 --- a/tests/test-classifier.c +++ b/tests/test-classifier.c @@ -262,7 +262,7 @@ static uint8_t dl_src_values[][6] = { { 0x00, 0x02, 0xe3, 0x0f, 0x80, 0xa4 }, { 0x5e, 0x33, 0x7f, 0x5f, 0x1e, 0x99 } }; static uint8_t dl_dst_values[][6] = { { 0x4a, 0x27, 0x71, 0xae, 0x64, 0xc1 }, { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } }; -static uint8_t nw_proto_values[] = { IP_TYPE_TCP, IP_TYPE_ICMP }; +static uint8_t nw_proto_values[] = { IPPROTO_TCP, IPPROTO_ICMP }; static uint8_t nw_tos_values[] = { 49, 0 }; static void *values[CLS_N_FIELDS][2];