aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ee659db..0c168ab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsdsl_ip_config"
-version = "0.2.4"
+version = "0.3.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/src/lib.rs b/src/lib.rs
index 71e8687..6ebc2e0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,7 +2,8 @@ use std::net::{Ipv4Addr, Ipv6Addr};
use serde::{Deserialize, Serialize};
-pub const LOCATION: &str = "/data/pppoe.ip_config";
+pub const LOCATION: &str = "/tmp/pppoe.ip_config";
+pub const LOCATION_LAST: &str = "/data/pppoe.last";
#[derive(Clone, Copy, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct Ipv4Config {