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

Re: [rhel5-branch 5/5] Increase max NIC identification duration to 5 minutes (#473747).



Looks ok,

Regards,

Hans


On 05/01/2009 11:22 PM, David Cantrell wrote:
loader was restricting users to a NIC identification duration of 1 to 30
seconds.  This patch increases the maximum to 5 minutes.
---
  loader2/net.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader2/net.c b/loader2/net.c
index ae6a2c1..fbbde60 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -2318,11 +2318,11 @@ 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 "
-                                         "and 30."));
+                                         "and 300."));
                          continue;
                      }



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