Skip to content

Commit

Permalink
force clang-format off for specific line
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
  • Loading branch information
KeithWiles authored and pktgen committed Oct 30, 2024
1 parent 9092dc3 commit dea335e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common/pg_inet.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ struct pg_ipaddr {

#define PG_IPPROTO_L4_GTPU_PORT 2152

// clang-format off
#define IPv4(a, b, c, d) \
((uint32_t)(((a) & 0xff) << 24) | (((b) & 0xff) << 16) | (((c) & 0xff) << 8) | ((d) & 0xff))
// clang-format on

/*************************************************************************
*
Expand Down

0 comments on commit dea335e

Please sign in to comment.