diff options
author | Ali Hasani <a.hassssani@gmail.com> | 2020-04-28 21:07:59 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:37:59 -0400 |
commit | 47c2f034e95696a47770d60aec1362501e7f330d (patch) | |
tree | 16a6bb1f466c6ace36538672f26c1f4757bea3f5 /cli/ops/net_unix.rs | |
parent | e0ca60e7707b5896ce67301aefd1de4a76e3cf75 (diff) |
BREAKING: address renamed to path in UnixAddr UnixConnectOptions UnixListenOptions (#4959)
Diffstat (limited to 'cli/ops/net_unix.rs')
-rw-r--r-- | cli/ops/net_unix.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/ops/net_unix.rs b/cli/ops/net_unix.rs index 28b895b2c..4b09c2fdb 100644 --- a/cli/ops/net_unix.rs +++ b/cli/ops/net_unix.rs @@ -23,7 +23,7 @@ pub struct UnixDatagramResource { #[derive(Deserialize)] pub struct UnixListenArgs { - pub address: String, + pub path: String, } pub fn accept_unix( @@ -64,11 +64,11 @@ pub fn accept_unix( Ok(json!({ "rid": rid, "localAddr": { - "address": local_addr.as_pathname(), + "path": local_addr.as_pathname(), "transport": "unix", }, "remoteAddr": { - "address": remote_addr.as_pathname(), + "path": remote_addr.as_pathname(), "transport": "unix", } })) @@ -96,7 +96,7 @@ pub fn receive_unix_packet( Ok(json!({ "size": size, "remoteAddr": { - "address": remote_addr.as_pathname(), + "path": remote_addr.as_pathname(), "transport": "unixpacket", } })) |