OpenMediaVault-Plugin-Developers / openmediavault-docker-gui

Docker plugin for OpenMediaVault
32 stars 17 forks source link

Add hostname check for macvlan network #45

Closed subzero79 closed 6 years ago

subzero79 commented 6 years ago

Hostname check missing

ryecoaaron commented 6 years ago

While strcmp will work, I might change that to the empty function since strcmp will generate a warning if the hostname is empty.

subzero79 commented 6 years ago

The check is the same used in bridge network setup. I'll test with empty function.