Skip to content
Browse files

net/gptp: net_gptp_recv() dummy function needs to return a verdict

Since gptp is disabled in this case, let's return NET_DROP.

Signed-off-by: Tomasz Bursztyka <>
  • Loading branch information...
tbursztyka authored and jukkar committed May 28, 2019
1 parent 17b0552 commit 599450671da3122350bbce0e8fa810b2f148607d
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/net/ip/net_private.h
@@ -79,7 +79,7 @@ void net_gptp_init(void);
enum net_verdict net_gptp_recv(struct net_if *iface, struct net_pkt *pkt);
#define net_gptp_init()
#define net_gptp_recv(iface, pkt)
#define net_gptp_recv(iface, pkt) NET_DROP
#endif /* CONFIG_NET_GPTP */


0 comments on commit 5994506

Please sign in to comment.
You can’t perform that action at this time.