Skip to content

Commit

Permalink
solisten: mask clang warnings in inet_sock.h
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Tiare Le Bigot <[email protected]>
  • Loading branch information
yadutaf committed Nov 18, 2017
1 parent a3bfe09 commit ed5c381
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/solisten.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@

# BPF Program
bpf_text = """
#include <net/sock.h>
#include <net/inet_sock.h>
#include <net/net_namespace.h>
#include <bcc/proto.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wenum-conversion"
#include <net/inet_sock.h>
#pragma clang diagnostic pop
// Common structure for UDP/TCP IPv4/IPv6
struct listen_evt_t {
Expand Down

0 comments on commit ed5c381

Please sign in to comment.