Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-11 | Minor code cleanup | Stephen Hemminger | |
1. Make local functions static 2. Use C standard for function with no-args versus old K&R style 3. Make some arguments const | |||
2012-07-11 | Don't leak file descriptors to action | Stephen Hemminger | |
Bug 8204 Make sure we don't handle unnecessary file descriptors to child processes. This is done by marking file descriptors as close on exec, and closing pipe before exec. | |||
2012-05-25 | Partial bugfix 8111 | John Southworth | |
This fixes the biggest memory leak in the config load. There are still a few small ones but they are not as big of a problem since the process is ephemeral. | |||
2011-07-29 | Fix warning about unused function prototype | Stephen Hemminger | |
2011-07-01 | Add another check for out_stream now all refrences are validated before ↵ | John Southworth | |
writing to it | |||
2011-06-30 | Bugfix 7259: check that out_stream is not null before attempting to write to it | John Southworth | |
2011-06-17 | Comment out unused functions | Stephen Hemminger | |
2011-06-10 | Adjust the number of characters we print when creating an offset to the ↵ | John Southworth | |
buffer to remove the errloc tag | |||
2011-06-09 | Bugfix 7153: Initialize buffer before reading into it | John Southworth | |
2011-05-14 | close pipe fd before returning | An-Cheng Huang | |
2011-05-14 | minor changes | An-Cheng Huang | |
* remove warning. * make output more responsive. | |||
2011-05-12 | fix for bug 6771 | An-Cheng Huang | |
* reimplement process management to fix breakage caused by commit 792d6aa0dd0ecfd45c9b5ab57c6c0cb71a9b8da6. | |||
2011-05-10 | preliminary implementation of new commit | An-Cheng Huang | |
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538) | |||
2011-02-28 | add config template abstraction | An-Cheng Huang | |
2011-02-22 | clean up dead code etc. etc. etc. | An-Cheng Huang | |
2011-01-11 | use the old interface rather than call unlink directly. | Michael Larson | |
(cherry picked from commit 3246881725b219e532464a0191d074e9f02cba23) | |||
2011-01-11 | re-enable concurrent configuration commit locking. | Michael Larson | |
locking can be overrode though commit -l flag. (cherry picked from commit c13f949c55df81052c73d394d5ed5ea18a65502b) | |||
2011-01-04 | workaround for bug 5388 | An-Cheng Huang | |
* disallow double quote (") character in config values. (cherry picked from commit 143d9b4ed9fcf3ac29fd8bc8c6af6bb1921fada8) | |||
2010-12-08 | need to check if process terminated normally before checking return code status. | Michael Larson | |
2010-12-07 | Allow _errloc_ to be place on any line in output, not restricted to first line. | Michael Larson | |
2010-12-06 | handle case for non-commit client with latest error location changes. | Michael Larson | |
2010-12-02 | update to errloc. changed reader so that stderr/stdout is printed as it is ↵ | Michael Larson | |
received. Also added new -x option to commit to force messages to be printed via the old format. | |||
2010-11-29 | add limit check on stdout capture (8192 characters). | Michael Larson | |
2010-11-29 | fix for duplicate messages on some system commands. | Michael Larson | |
2010-11-24 | implementation of err location support for commit process. commit failures ↵ | Michael Larson | |
will now look different (via cli): vyatta@vyatta# commit [ service nat ] NAT configuration error: rule type not specified/valid [ system domain-search domain ] System configuration error. Both 'domain-name' and 'domain-search' are specified, but only one of these mutually exclusive parameters is allowed. [ load-balancing wan ] WARNING: A valid WAN load-balance configuration requires an interface with a nexthop Commit failed Location of error will now be supplied on each failure, with the option to override the script node location. | |||
2010-11-24 | use exit code 1 to ease init script usage | An-Cheng Huang | |
2010-11-12 | remove extra process layer--required before this command is expanded to ↵ | Michael Larson | |
handle other commit actions (i.e. ones that rely on consistent parent process id in scripts). | |||
2010-07-28 | add cstore-specific header file | An-Cheng Huang | |
2010-07-28 | add new cstore library | An-Cheng Huang | |
2010-07-21 | fix for bug 5882. | Michael Larson | |
2010-07-19 | more cleanup to new help impl. | Michael Larson | |
2010-07-19 | modified handling of status return codes for child process. | Michael Larson | |
2010-07-19 | modified syntax and commit checks now applied during commit. | Michael Larson | |
modification allows for error statement to be placed after location of error node. | |||
2010-06-28 | return false for invalid value instead of exiting | An-Cheng Huang | |
2010-06-10 | add value character restriction | An-Cheng Huang | |
* disallow newline in value strings. * move check into lib. | |||
2010-06-08 | fix for bug 5667. Moved the location of the deactivate check. | Michael Larson | |
2010-06-08 | fix for bug 5213 | An-Cheng Huang | |
* handle absolute variable references correctly. | |||
2010-06-02 | simplify output init | An-Cheng Huang | |
2010-06-02 | Additional fix to cli_new.c on arg. | Michael Larson | |
2010-06-02 | more fixes for compilier warnings. | Michael Larson | |
2010-06-01 | bug fix for 5646. Suppress variable replacement if deactivated for disabled ↵ | Michael Larson | |
nodes (where variables reside). | |||
2010-05-31 | fix for bug 5649. Need to initialize val_types for value comparison to ↵ | Michael Larson | |
ERROR_TYPE | |||
2010-05-28 | fix bad comparison in multiple-type check | Michael Larson | |
2010-05-26 | fix for multiple type support in cli for the following case: | Michael Larson | |
1) If multiple types are defined and one type is a submatch of the other type (i.e. ipv4 and ipv4net) 2) And one string is a submatch of the other (i.e. 3.3.3.3 and 3.3.3.3/32) 3) Then compare data types before comparing for value equality Fixes problem where the ipv4net wouldn't let the ipv4 value from being set if the ipv4 was a substring of the ipv4net. | |||
2010-05-20 | fixed seg violation on commit due to extended multiple types support in ↵ | Michael Larson | |
valstruct. | |||
2010-05-20 | fix for bug 5618. needed to extend valstruct to maintain multiple types ↵ | Michael Larson | |
rather than using first type found in node.val file. also simplified type check. | |||
2010-04-15 | Multiple (i.e. one or two) datatypes can now be supported on a node.def type ↵ | Michael Larson | |
definition. type: ipv4,ipv6 Will now allow for the value to validated against both data types (or the first success). In the case of both failing the following message format will be returned: vyatta@vyatta# set load-balancing wan rule 1 "1" is not a valid value of type "bool" "1" is not a valid value of type "ipv4" Note, that any combination of types with text being one of the types is not supported. The reason being is that with text any value is allowed, therefore it doesn't really make sense to validate a datatype on text + ipv4 when text will always be successful. | |||
2008-11-13 | Simplify the debug code | Stephen Hemminger | |
dump_log doesn't need allocate whole buffer, just print in steps. | |||
2008-10-28 | Fix 3505: cli crash on delete of ipv6net static route. | Stig Thormodsrud | |
2008-09-04 | Fix build warnings | Stephen Hemminger | |
Get rid of warnings for push_path discards qualifiers from pointer target type. |