refactor(linux): change toStr string

This commit is contained in:
utox39
2025-05-10 19:31:13 +02:00
parent c541e0588e
commit 360fe05007
3 changed files with 7 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ pub const NetInfo = struct {
ipv4_addr: []u8,
pub fn toStr(self: NetInfo, buf: []u8) ![]u8 {
return std.fmt.bufPrint(buf, "Local IP ({s}): {s}", .{ self.interface_name, self.ipv4_addr });
return std.fmt.bufPrint(buf, "({s}): {s}", .{ self.interface_name, self.ipv4_addr });
}
};