Commit 2916606
fix: route connect messages through upstream for NAT relay
ObservedAddress and ConnectResponse messages must route through the
upstream connection (source_addr) rather than directly to target
addresses, since relay peers may not have direct connections to joiners.
This mirrors the fix from PR #2171 that addressed the same NAT routing
issue for different message types.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b428f92 commit 2916606
1 file changed
+22
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
| 889 | + | |
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | | - | |
911 | | - | |
912 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
913 | 920 | | |
914 | 921 | | |
915 | 922 | | |
| |||
947 | 954 | | |
948 | 955 | | |
949 | 956 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
954 | 968 | | |
955 | 969 | | |
956 | 970 | | |
| |||
0 commit comments