[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/4] Increase max NIC identification duration to 5 minutes (#473747).



loader was restricting users to a NIC identification duration of 1 to 30
seconds.  This patch increases the maximum to 5 minutes.
---
 loader/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index 5531923..4a58c60 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1852,7 +1852,7 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) {
                         continue;
                     }
 
-                    if (secs <=0 || secs > 30) {
+                    if (secs <=0 || secs > 300) {
                         newtWinMessage(_("Invalid Duration"), _("OK"),
                                        _("You must enter the number of "
                                          "seconds as an integer between 1 "
-- 
1.6.2.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]