misc: net_util: drop extern crate, use modern rust

This commit is part of a series of similar commits.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-09-05 09:20:41 +02:00
committed by Rob Bradford
parent 47dff4f6bc
commit 492f24c632
5 changed files with 4 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ use std::net::IpAddr;
use std::path::Path;
use std::{fs, io};
use log::warn;
use thiserror::Error;
use super::{MacAddr, Tap, TapError, vnet_hdr_len};