]> git.proxmox.com Git - proxmox-backup.git/blobdiff - pbs-config/src/network/parser.rs
update to proxmox-sys 0.2 crate
[proxmox-backup.git] / pbs-config / src / network / parser.rs
index 7cb081ae7569cf316fcd666a7c2644e3a678d9ab..56c097a963469832ea7df5f7a0d654e42d9fa158 100644 (file)
@@ -184,7 +184,7 @@ impl <R: BufRead> NetworkParser<R> {
         self.eat(Token::Gateway)?;
         let gateway = self.next_text()?;
 
-        if proxmox::tools::common_regex::IP_REGEX.is_match(&gateway) {
+        if pbs_api_types::common_regex::IP_REGEX.is_match(&gateway) {
             if gateway.contains(':') {
                 set_gateway_v6(interface, gateway)?;
             } else {