==================================================================
  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
==================================================================

--- Comment #2 from Ian Wells <[email protected]> ---
(In reply to Ian Wells from comment #1)
> Such a routine either is, or should be, provided by the base install. I, or
> someone, should check.

Check cleanIP & isValidIP from esmith::util::network (from e-smith-lib)

For an example see configure.pm (from e-smith-base)

use esmith::util::network qw(:all);

    if ($choice)
    {
        if (isValidIP($choice))
        {
            $choice = cleanIP($choice);
            $db->set_value('LocalIP', $choice);
            goto LOCAL_NETMASK;
        }
    }

-- 
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