Skip to content

Commit

Permalink
SETNULL before get information
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Aug 9, 2014
1 parent 6203367 commit 1f26d4d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion I-Nex/i-nex/.src/Network.module
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Public Sub inits()
End

Public Sub get_informations_about_net_interface()

SETNULL()
Try subsystem_device = Replace(File.Load("/sys/class/net/" & Finfosys.ComboBox2.Text & "/device/device"), "\n", "")
Try subsystem_vendor = Replace(File.Load("/sys/class/net/" & Finfosys.ComboBox2.Text & "/device/vendor"), "\n", "")
Try Finfosys.Label157.Text = "Device address: " & Replace(File.Load("/sys/class/net/" & Finfosys.ComboBox2.Text & "/address"), "\n", "")
Expand Down Expand Up @@ -81,3 +81,28 @@ Public Function IP_INFO()
Try Finfosys.Label238.Text = IPINFOIO_JSON["org"]
End

Function SETNULL()

Try Finfosys.Label157.Text = Null
Try Finfosys.Label158.Text = Null
Try Finfosys.Label159.Text = Null
Try Finfosys.Label160.Text = Null
Try Finfosys.Label161.Text = Null
Try Finfosys.Label162.Text = Null
Try Finfosys.Label163.Text = Null
Try Finfosys.Label164.Text = Null
Try Finfosys.Label165.Text = Null
Try Finfosys.Label166.Text = Null
Try Finfosys.Label167.Text = Null
Try Finfosys.Label168.Text = Null
Try Finfosys.Label169.Text = Null
Try Finfosys.Label170.Text = Null
Try Finfosys.Label171.Text = Null
Try Finfosys.Label172.Text = Null
Try Finfosys.Label173.Text = Null
Try Finfosys.Label174.Text = Null
Try Finfosys.Label175.Text = Null
Try subsystem_device = Null
Try subsystem_vendor = Null

End

0 comments on commit 1f26d4d

Please sign in to comment.