Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2008-07-29 | Turn my_wrappers into macros | Stephen Hemminger | |
The my_malloc() etc wrappers can be shrunk by using macros. | |||
2008-07-29 | Avoid needless calls to system() | Stephen Hemminger | |
Add a version of touch and mkdir -p commands coded directly without going out to shell. | |||
2008-07-29 | Add annotation to cli functions | Stephen Hemminger | |
Use gcc annotations for noreturn and printf like formats | |||
2008-07-29 | type_to_name returns immutable string | Stephen Hemminger | |
Don't want accidental errors | |||
2008-07-29 | Fix 3505: cli crashes on ipv6net type. | Stig Thormodsrud | |
2008-07-07 | fix for bug 3216. added no escape option to push path for environmental path ↵ | Michael Larson | |
variable. note this is appied to all c code access to the edit env variable. | |||
2008-06-30 | fix for bug 3403: allocate correct amount of memory for multi-valued nodes. | An-Cheng Huang | |
2008-04-16 | modified fix for 2525--fixes problem introduced with last fix (bug 3163) | Michael Larson | |
2008-04-15 | revert fix for 2525 until delete on commit warnings are resolved. | Michael Larson | |
2008-04-10 | alternate fix for 2525--force directory evaluation upstream. | Michael Larson | |
2008-02-26 | fix for bug 2868: return failure for invalid values. | An-Cheng Huang | |
2008-02-01 | fix for bug 2211: "commit:expression:" checks are not evaluated at | An-Cheng Huang | |
"set" time. | |||
2008-01-30 | don't check escaped '$' in string expansion | An-Cheng Huang | |
2008-01-30 | change variable reference marker from "$(" to "$VAR(". | An-Cheng Huang | |
2007-12-18 | Reorganized things a bit in a value subtraction algorithm. | alex | |