We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e624737 commit ff77f02Copy full SHA for ff77f02
packages/agent_core/src/network/origin_lookup.rs
@@ -192,6 +192,10 @@ impl OriginResource {
192
}
193
194
OriginTarget::Port { ip, port } => {
195
+ if self.port_count == 0 {
196
+ return Some(SocketAddr::new(*ip, *port));
197
+ }
198
+
199
if self.port_count <= port_offset {
200
return None;
201
0 commit comments