Fixed: [Duplicate config files in configdir causes merge problems -> set ? = NULL](https://github.com/clicon/clixon/issues/510)
Made file-dir match more exact, eg .cli not ?cli Added -1 as any arg to xml_rm_children()
This commit is contained in:
parent
e55e05353f
commit
344786a971
12 changed files with 76 additions and 28 deletions
|
|
@ -1682,7 +1682,7 @@ yang_spec_load_dir(clixon_handle h,
|
|||
* a@2000-01-01.yang,
|
||||
* a@2111-11-11.yang
|
||||
*/
|
||||
if((ndp = clicon_file_dirent(dir, &dp, "(.yang)$", S_IFREG)) < 0)
|
||||
if((ndp = clicon_file_dirent(dir, &dp, "\\.yang$", S_IFREG)) < 0)
|
||||
goto done;
|
||||
if (ndp == 0)
|
||||
goto ok;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue