allow us to ping from, or traceroute from locked devices. A bug kept us from doing this previously.
This commit is contained in:
@ -97,17 +97,17 @@ namespace EduNetworkBuilder
|
||||
|
||||
}
|
||||
|
||||
public bool Edit(NetworkDevice FromWhat, Form ParentForm, string message="")
|
||||
public bool Edit(NetworkDevice FromWhat, Form ParentForm, string message="", bool JustPinging = false)
|
||||
{
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm);
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm, JustPinging);
|
||||
if (message != "")
|
||||
IPe.Text = message;
|
||||
return IPe.Edit();
|
||||
}
|
||||
|
||||
public bool Edit(NetworkDevice FromWhat, IPAddress DHCPif, Form ParentForm)
|
||||
public bool Edit(NetworkDevice FromWhat, IPAddress DHCPif, Form ParentForm, bool JustPinging = false)
|
||||
{
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm);
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm, JustPinging);
|
||||
return IPe.Edit(FromWhat, DHCPif);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user