summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Misc.pm
AgeCommit message (Collapse)Author
2009-01-26Vyatta::Misc - Fix perl critic warningsStephen Hemminger
Eliminate warnings about 2 arg open, and non stricture.
2009-01-20Fix isIPinInterfacesStephen Hemminger
fix bug in conversion to Vyatta::Interface by rewriting/refactoring.
2009-01-18Fix regression in Vyatta::MiscStephen Hemminger
Handle requests for interfaces of a specific type
2009-01-13Better usage of NetAddr::IPStephen Hemminger
Only get address once, and don't call new() directly, use in OO style.
2009-01-13Ignore IPV6 addresses in getInterfacesIPadressesStephen Hemminger
This routine is used by DHCP server and needs to ignore IPV6 addresses. NB: Does not fix bogus spellung.
2009-01-12Better version of getIPadresses and getInterfacesdebian/0.14.2Stephen Hemminger
Use new Vyatta::Interface and sysfs to avoid using ifconfig and ip command unnecessarily.
2009-01-12Use new interfaces routinesStephen Hemminger
Unify all code that does name -> interface attribute translation into one place. No need to pass interface path to scripts, and handle addresses correctly in DHCP code. Use 'undef' consitently for false in perl code.
2009-01-12Simplfy and cleanup misc interfacesStephen Hemminger
Use regex to identify legal IPV4 address, and get rid of perlcrtic warnings.
2009-01-12Use getservbyname to find portsStephen Hemminger
Rather than reading /etc/services directly, use the standard getservbyname function. This should be more efficient (uses dbm), and will work with other nameservices
2008-12-20Fix 3815: FW: Hyphenated port names treated as ranges in firewall rules.Stig Thormodsrud
2008-12-12Fix 3991: Unable to configure DHCP server on a multinetted interfaceZStig Thormodsrud
2008-12-01"show interfaces" broken. Use new perl hierarchy.Stig Thormodsrud
2008-11-25export getPortRuleStringStephen Hemminger
2008-11-21Convert VyattaConfig (et al) to Vyatta::ConfigStephen Hemminger
Use hierarchal directory structure