diff options
author | 2016-08-12 11:42:26 -0700 | |
---|---|---|
committer | 2016-08-12 12:07:54 -0700 | |
commit | 853e720fdd74b1ffb1168c1503cd97eb5b7f8b60 (patch) | |
tree | 6179a62bebb59afa409268a88f2b6d9d9a3702ad /vnet/vnet/map/map.c | |
parent | c1be59d3eb92096f7403ad5b3c3e7cbd78ba0b96 (diff) |
VPP-237: indent fixes in prep for checkstyle
Ran indent *twice*
Change-Id: If9c18b81983bb859cc8dc3b415c67cbf318fc618
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'vnet/vnet/map/map.c')
-rw-r--r-- | vnet/vnet/map/map.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/vnet/vnet/map/map.c b/vnet/vnet/map/map.c index 93a10c679f0..fdd56ee488d 100644 --- a/vnet/vnet/map/map.c +++ b/vnet/vnet/map/map.c @@ -128,8 +128,9 @@ ip6_get_port (ip6_header_t * ip6, map_dir_e dir, u16 buffer_len) if (l4_protocol == IP_PROTOCOL_TCP || l4_protocol == IP_PROTOCOL_UDP) { return (dir == - MAP_SENDER) ? ((udp_header_t *) (l4))-> - src_port : ((udp_header_t *) (l4))->dst_port; + MAP_SENDER) ? ((udp_header_t *) (l4))->src_port : ((udp_header_t + *) + (l4))->dst_port; } else if (l4_protocol == IP_PROTOCOL_ICMP6) { @@ -230,8 +231,7 @@ map_create_domain (ip4_address_t * ip4_prefix, memset (&adj, 0, sizeof (adj)); adj.explicit_fib_index = ~0; adj.lookup_next_index = - (d-> - flags & MAP_DOMAIN_TRANSLATION) ? IP_LOOKUP_NEXT_MAP_T : + (d->flags & MAP_DOMAIN_TRANSLATION) ? IP_LOOKUP_NEXT_MAP_T : IP_LOOKUP_NEXT_MAP; p = (uword *) & adj.rewrite_data[0]; *p = (uword) (*map_domain_index); @@ -339,8 +339,7 @@ map_delete_domain (u32 map_domain_index) memset (&adj, 0, sizeof (adj)); adj.explicit_fib_index = ~0; adj.lookup_next_index = - (d-> - flags & MAP_DOMAIN_TRANSLATION) ? IP_LOOKUP_NEXT_MAP_T : + (d->flags & MAP_DOMAIN_TRANSLATION) ? IP_LOOKUP_NEXT_MAP_T : IP_LOOKUP_NEXT_MAP; /* Delete ip4 adjacency */ |