diff --git a/trifid-api/Cargo.toml b/trifid-api/Cargo.toml index 27be92e..eae1626 100644 --- a/trifid-api/Cargo.toml +++ b/trifid-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trifid-api" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "Pure-rust Defined Networking compatible management server" license = "GPL-3.0-or-later" diff --git a/trifid-api/src/routes/v1/dnclient.rs b/trifid-api/src/routes/v1/dnclient.rs index 8ed8cfc..828bdd6 100644 --- a/trifid-api/src/routes/v1/dnclient.rs +++ b/trifid-api/src/routes/v1/dnclient.rs @@ -232,7 +232,7 @@ pub async fn dnclient( } }; - let mut config_is_different = current_cfg == cfg; + let mut config_is_different = current_cfg != cfg; if config_is_different { // check if it is a certificate issue