++addr change

This commit is contained in:
Nico Schottelius 2019-05-06 12:18:10 +02:00
parent b0b9cd7461
commit 522b4d6593

View file

@ -236,9 +236,9 @@ Echo or Echo Reply Message
/* automatic translations */ /* automatic translations */
action nat64_tcp_session_translate( action nat64_tcp_session_translate(
ipv4_t src_addr, ipv4_addr_t src_addr,
bit<16> src_port, bit<16> src_port,
ipv4_t dst_addr, ipv4_addr_t dst_addr,
bit<16> dst_port) bit<16> dst_port)
{ {
hdr.ipv4.setValid(); hdr.ipv4.setValid();
@ -250,9 +250,9 @@ Echo or Echo Reply Message
} }
action nat46_tcp_session_translate( action nat46_tcp_session_translate(
ipv6_t src_addr, ipv6_addr_t src_addr,
bit<16> src_port, bit<16> src_port,
ipv6_t dst_addr, ipv6_addr_t dst_addr,
bit<16> dst_port) bit<16> dst_port)
{ {
hdr.ipv6.setValid(); hdr.ipv6.setValid();