Skip to content

Commit a48de4a

Browse files
committed
Prevent recursion
1 parent 782f432 commit a48de4a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Interfaces/ISettingsChangedListener.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ public interface ISettingsChangedListener
2626
/// <summary>
2727
/// Notify that settings have changed
2828
/// </summary>
29+
/// <param name="newSettings">New settings</param>
30+
/// <param name="inUpdate">Whether the settings listener is already in update</param>
2931
/// <returns>Task</returns>
30-
System.Threading.Tasks.Task SettingsChanged(Settings newSettings);
32+
System.Threading.Tasks.Task SettingsChanged(Settings newSettings, bool inUpdate);
3133
}
3234
}

Model/Machine.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public class Machine
145145
public string Status { get; set; }
146146

147147
/// <summary>
148-
/// Comma separated ip addresses to always allow on just this machine
148+
/// Comma separated ip addresses to always allow on just this machine. Can use | to delimit with allowed ports (all other ports are blocked).
149149
/// </summary>
150150
[DisplayFormat(ConvertEmptyStringToNull = false)]
151151
[Required(AllowEmptyStrings = true)]

0 commit comments

Comments
 (0)