feat: add default value handling for network protocol and remove obsolete test file

This commit is contained in:
2025-07-17 18:14:31 +02:00
parent 1b1dc263cd
commit d8d02f9e89
3 changed files with 6 additions and 1 deletions

View File

@ -397,6 +397,11 @@ func createAndMountISO(size, mountpoint, charset string) error {
}
func initializeNetworkProtocol(forceProtocol string) (*net.Dialer, error) {
// Handle empty/default value
if forceProtocol == "" {
forceProtocol = "auto"
}
switch forceProtocol {
case "ipv4":
return &net.Dialer{

1
hmac-file-server.pid Normal file
View File

@ -0,0 +1 @@
564137

View File

@ -1 +0,0 @@
Hello, HMAC File Server! Do 17. Jul 18:05:48 CEST 2025