Some refactoring on the lxc_net function.
Some refactoring on the lxc_net function.

romses/LXC-Web-Panel,claudyus/LXC-Web-Panel,claudyus/LXC-Web-Panel,claudyus/LXC-Web-Panel,romses/LXC-Web-Panel,claudyus/LXC-Web-Panel,romses/LXC-Web-Panel,romses/LXC-Web-Panel