Fix
packet-openflow.c:318: warning: return type defaults to 'int' packet-openflow.c: In function 'dissect_openflow_ofp_match_v_1_0': packet-openflow.c:350: warning: control reaches end of non-void function svn path=/trunk/; revision=51650
This commit is contained in:
parent
a768180b30
commit
2cddd61a48
|
@ -313,7 +313,7 @@ static const value_string openflow_type_values[] = {
|
|||
#define OFPAT_SET_TP_DST 9 /* TCP/UDP destination port. */
|
||||
#define OFPAT_VENDOR 0xffff
|
||||
|
||||
|
||||
static int
|
||||
dissect_openflow_ofp_match_v_1_0(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
|
||||
{
|
||||
|
||||
|
@ -347,6 +347,7 @@ dissect_openflow_ofp_match_v_1_0(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
|
|||
/* uint16_t tp_dst; TCP/UDP destination port. */
|
||||
offset +=20;
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue