summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-03Simplify logicStephen Hemminger
Use || operator
2009-02-03Reindent load config for clarityStephen Hemminger
Run through perltidy.
2009-01-260.14.6debian/0.14.6Stephen Hemminger
2009-01-26DOMTree: Fix perlcritic warningsStephen Hemminger
Get rid of these: "return" statement with explicit "undef" at line 333, column 27. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 335, column 35. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 366, column 2. See page 199 of PBP. (Severity: 5)
2009-01-26Vyatta::Misc - Fix perl critic warningsStephen Hemminger
Eliminate warnings about 2 arg open, and non stricture.
2009-01-26ConfigOutput: Fix perlcritic warningStephen Hemminger
Minor fix: Code before strictures are enabled at line 31, column 1. See page 429 of PBP. (Severity: 5)
2009-01-260.14.5debian/0.14.5Stephen Hemminger
2009-01-26save_config: fix perlcritic warningsStephen Hemminger
Use three arg form of open etc.
2009-01-26config load: avoid possible bug in getConfigDiffStephen Hemminger
The map function operates on an alias of the passed list, so any modification of the elements has bad side effects. Make an explicit copy instead: Original warning: Don't modify $_ in list functions at line 410, column 17. See page 114 of PBP. (Severity: 5)
2009-01-26config load: fix perlcritic warningsStephen Hemminger
Fix the easy perlcritc warning about explicit return undef, and use strict
2009-01-26add lib to link when building vyatta-cfg soslioch
2009-01-26expose new cli functions in cfg library.slioch
2009-01-26Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-01-26Cleanup type checkerStephen Hemminger
Use standard getprotoent() rather than manual parsing. Fix perlcritic warnings.
2009-01-220.14.4debian/0.14.4Bob Gilligan
2009-01-21Add more IPv6 address and prefix validation functions.Bob Gilligan
2009-01-20update unit testsStephen Hemminger
Add more unit tests.
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-140.14.3debian/0.14.3An-Cheng Huang
2009-01-13Better usage of NetAddr::IPStephen Hemminger
Only get address once, and don't call new() directly, use in OO style.
2009-01-13Add test for is_ip_v4Stephen Hemminger
More standalone test.
2009-01-13Fix problems with test programStephen Hemminger
Interfaces has changed, so need to change tests.
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-120.14.2Stephen Hemminger
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
2009-01-12Remove unused functionsStephen Hemminger
htonl and if_nametoindex are not used.
2009-01-080.14.1debian/0.14.1An-Cheng Huang
2009-01-07New Vyatta::Interface infrastructureStephen Hemminger
Provide generic module to map interface name to configuration and other attributes. This is first step to ripping the special case code out of DHCP, QoS, ... that all have own rules for mapping name to configuration and configuration to name.
2009-01-05mod to make it easier to switch between commitsslioch
2008-12-23alter return check for dirctory copy on successful completion of node ↵slioch
processing.
2008-12-20Fix 3815: FW: Hyphenated port names treated as ranges in firewall rules.Stig Thormodsrud
2008-12-20Fix 3626: Not all protocol numbers are accepted in firewall rules.Stig Thormodsrud
2008-12-16update .gitignoreAn-Cheng Huang
2008-12-16update Build-Depends and DependsAn-Cheng Huang
2008-12-15removed tmp file that shouldn't have been committed.slioch
2008-12-15initial checkin of new commit code--building but does not replace original ↵slioch
commit. New commit may be accessed through my_commit2 binary.
2008-12-12"files" file should be removed before package buildAn-Cheng Huang
2008-12-12update maintainer informationAn-Cheng Huang
2008-12-12Fix 3991: Unable to configure DHCP server on a multinetted interfaceZStig Thormodsrud
2008-12-05Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2008-12-05Need full path to link-detectStephen Hemminger
2008-12-03Merge branch 'islavista' into jennerRick Balocca
2008-12-03Use vyatta-link-detectStephen Hemminger
New script to wrap direct calls to vtysh
2008-12-01"show interfaces" broken. Use new perl hierarchy.Stig Thormodsrud
2008-12-01"save" command broken - fix spelling error.Stig Thormodsrud
2008-11-253.2.0vyatta/3.2.0debian/0.14Mark O'Brien