summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2009-09-28 12:14:32 -0700
committerJosh Blum <josh@joshknows.com>2009-09-28 12:14:32 -0700
commit1c528febdac158b3fe898a8cb37ac37f8f4fee61 (patch)
treeb4e749f6b3135d12da3fe0d6b9c9af54dcad5e00
parente3902a9557e2a8c8bdd1e86fab30d754e909f843 (diff)
use existing utility method
-rw-r--r--vrt/lib/expanded_header.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrt/lib/expanded_header.cc b/vrt/lib/expanded_header.cc
index d7da06af48..0eb2042d8f 100644
--- a/vrt/lib/expanded_header.cc
+++ b/vrt/lib/expanded_header.cc
@@ -113,7 +113,7 @@ namespace vrt {
}
/* is this a if context packet? */
- if (ntohl(p[0]) & VRTH_PT_IF_CONTEXT){
+ if (h->if_context_p()){
*payload = p;
*n32_bit_words_payload = n32_bit_words_packet;
}