Skip to content

Commit

Permalink
Merge pull request #3471 from natali-rs1985/T6348-current
Browse files Browse the repository at this point in the history
op mode: T6348: SNAT op-mode fails with flowtable offload entries
  • Loading branch information
c-po authored May 17, 2024
2 parents d1b6b40 + 1cba74f commit 6b70110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/op_mode/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _get_formatted_translation(dict_data, nat_direction, family, verbose):
proto = meta['layer4']['protoname']
if direction == 'independent':
conn_id = meta['id']
timeout = meta['timeout']
timeout = meta.get('timeout', 'n/a')
orig_src = f'{orig_src}:{orig_sport}' if orig_sport else orig_src
orig_dst = f'{orig_dst}:{orig_dport}' if orig_dport else orig_dst
reply_src = f'{reply_src}:{reply_sport}' if reply_sport else reply_src
Expand Down

0 comments on commit 6b70110

Please sign in to comment.