bugfix: call duplicated packet filter too many times
This commit is contained in:
@@ -22,7 +22,7 @@ struct marsio_io
|
||||
* Private API
|
||||
******************************************************************************/
|
||||
|
||||
static int is_keepalive_packet(const char *data, int len)
|
||||
static inline int is_keepalive_packet(const char *data, int len)
|
||||
{
|
||||
if (data == NULL || len < (int)(sizeof(struct ethhdr)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user