Explorar el Código

Update sysinfo_freebsd.go

AY hace 3 años
padre
commit
9c931aedd5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mod/info/hardwareinfo/sysinfo_freebsd.go

+ 1 - 1
mod/info/hardwareinfo/sysinfo_freebsd.go

@@ -114,7 +114,7 @@ func GetCPUInfo(w http.ResponseWriter, r *http.Request) {
 }
 
 // Inherited code from sysinfo.go
-func (w http.ResponseWriter, r *http.Request) {
+func Ifconfig(w http.ResponseWriter, r *http.Request) {
 	cmdin := query_netinfo_command
 	cmd := exec.Command("bash", "-c", cmdin)
 	networkInterfaces, err := cmd.CombinedOutput()