flowtop: Simplify nfct_is_dns()
commit890aea491bd4326a5d03adba92495e4722a6b63e
authorTobias Klauser <tklauser@distanz.ch>
Fri, 7 Aug 2015 07:47:15 +0000 (7 09:47 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 7 Aug 2015 07:47:15 +0000 (7 09:47 +0200)
tree2635f5a8ae63080bbe23a2f0c63e04a0cac8c200
parent841bfc6b2b195f0263c1a147e7cac2416eb50916
flowtop: Simplify nfct_is_dns()

Instead of creating an additional struct flow_entry on the stack just to
use the CP_NFCT macros, call nfct_get_attr_u16() directly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
flowtop.c