Skip to content

Commit 35fd2bf

Browse files
authored
Make log message more accurate
1 parent 6b42865 commit 35fd2bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wsuks/lib/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def start(self):
3131
nft 'add rule ip wsuks wsuks-nat ip saddr <TARGET-IP> tcp dport <WSUKS-PORT> dnat ip to <HOST-IP>'
3232
"""
3333
self.isRunning = True
34-
self.logger.info(f"Configure nftables for NATing incoming packages from {self.targetIp} with source {self.wsusIp}:{self.wsusPort} to {self.hostIp}")
34+
self.logger.info(f"Configure nftables for NATing incoming packages from {self.targetIp} with destination {self.wsusIp}:{self.wsusPort} to {self.hostIp}")
3535

3636
self.nft.cmd("add table ip wsuks")
3737
self.nft.cmd("add chain ip wsuks wsuks-nat { type nat hook prerouting priority dstnat; policy accept; }")

0 commit comments

Comments
 (0)