==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=8105

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

Trevor Batley <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Trevor Batley <[email protected]> ---
(In reply to Ian Wells from comment #2)
> Check cleanIP & isValidIP from esmith::util::network (from e-smith-lib)
> 
Replaced my checkip routine with this in thinclient (as a test) and it all
works as expected.

I guess I should look at updating thinclient to use the system utilities,
rather than home-grown :-)

My new code
use esmith::util::network qw(:all);

  if ( isValidIP ($tftpip) )
  {
    $tftpserver = cleanIP ($tftpip);
  }  
  else
  {
    showInitial ($q, "error", "Incorrect IP [$tftpip], Update unsuccessfull",
'');
    return;
  }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to