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 {