++addr change
This commit is contained in:
parent
b0b9cd7461
commit
522b4d6593
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue