use full name for PVE::ProcFSTools::write_proc_entry()
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 26 Feb 2014 06:57:48 +0000 (07:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 26 Feb 2014 06:57:48 +0000 (07:57 +0100)
data/PVE/Network.pm

index 458a2da..1380724 100644 (file)
@@ -114,7 +114,7 @@ sub copy_bridge_config {
            my $v0 = PVE::Tools::file_read_firstline("/sys/class/net/$br0/bridge/$sysname");
            my $v1 = PVE::Tools::file_read_firstline("/sys/class/net/$br1/bridge/$sysname");
            if ($v0 ne $v1) {
-               write_proc_entry("/sys/class/net/$br1/bridge/$sysname", $v0);
+                PVE::ProcFSTools::write_proc_entry("/sys/class/net/$br1/bridge/$sysname", $v0);
            }
        };
        warn $@ if $@;