Skip to content

Commit

Permalink
remove method-
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
takotori committed Dec 11, 2023
1 parent 78e26c3 commit 40034f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "re_set-lib"
version = "0.7.5"
version = "0.7.6"
edition = "2021"
description = "Data structure library for ReSet"
repository = "https://github.com/Xetibo/ReSet-Lib"
Expand Down
8 changes: 4 additions & 4 deletions src/network/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ pub struct IPV4Settings {
pub ignore_auto_dns: bool,
pub ignore_auto_dns_routes: bool,
pub may_fail: bool,
pub dns_method: DNSMethod4,
pub method: DNSMethod4,
pub never_default: bool,
pub route_data: Vec<Address>,
}
Expand Down Expand Up @@ -855,7 +855,7 @@ impl PropMapConvert for IPV4Settings {
ignore_auto_dns,
ignore_auto_dns_routes,
may_fail,
dns_method,
method: dns_method,
never_default,
route_data,
}
Expand Down Expand Up @@ -889,8 +889,8 @@ impl PropMapConvert for IPV4Settings {
);
map.insert("may-fail".into(), Variant(Box::new(self.may_fail)));
map.insert(
"dns-method".into(),
Variant(Box::new(self.dns_method.to_i32())),
"method".into(),
Variant(Box::new(self.method.to_i32())),
);
map.insert(
"never-default".into(),
Expand Down

0 comments on commit 40034f9

Please sign in to comment.