diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2018-11-27 14:54:49 +0100 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2018-12-13 16:03:27 +0100 |
commit | 6923c9623fd958b183741b4d4f8d2cbe4325a144 (patch) | |
tree | 6a9fd119aad36669e0d7b5ca04630110e93dc891 /VNFs/DPPD-PROX/packet_utils.c | |
parent | 47123bfc1b3c0d0b01884aebbce1a3e09ad7ddb0 (diff) |
Clean up debugging messages
Print IP address in a.b.c.d format instead of one 32-bit number.
Better align debugging information in log file
Change-Id: Icfab30836ba83d53f700fcfbdfbd7cf238ed7bf8
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/packet_utils.c')
-rw-r--r-- | VNFs/DPPD-PROX/packet_utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/packet_utils.c b/VNFs/DPPD-PROX/packet_utils.c index 9d170949..ff00fb4f 100644 --- a/VNFs/DPPD-PROX/packet_utils.c +++ b/VNFs/DPPD-PROX/packet_utils.c @@ -24,8 +24,6 @@ #include "handle_master.h" #include "prox_port_cfg.h" -#define IP4(x) x & 0xff, (x >> 8) & 0xff, (x >> 16) & 0xff, x >> 24 - static inline int find_ip(struct ether_hdr_arp *pkt, uint16_t len, uint32_t *ip_dst) { struct vlan_hdr *vlan_hdr; |