Skip to content

Commit

Permalink
Fixed: [Openconfig configuration on Juniper MX does not work](clicon/…
Browse files Browse the repository at this point in the history
  • Loading branch information
olofhagsand committed Aug 14, 2023
1 parent dcdb993 commit ea1dc8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Clixon Changelog

* [6.3.1](#631) 14 August 2023
* [6.3.0](#630) 29 July 2023
* [6.2.0](#620) 30 April 2023
* [6.1.0](#610) 19 Feb 2023
Expand Down Expand Up @@ -40,6 +41,14 @@
* [3.3.2](#332) Aug 27 2017
* [3.3.1](#331) June 7 2017

## 6.3.1
14 August 2023

### Corrected Bugs

* Fixed: [Openconfig configuration on Juniper MX does not work](https://github.com/clicon/clixon-controller/issues/20)
* Fixed: [Configuring Juniper PTX produces CLI errors](https://github.com/clicon/clixon-controller/issues/19)

## 6.3.0
29 July 2023

Expand Down
8 changes: 6 additions & 2 deletions lib/src/clixon_yang_parse_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,12 @@ ys_grouping_resolve(yang_stmt *yuses,
else {
ys = yuses; /* Check upwards in hierarchy for matching groupings */
while (1){
if ((yp = yang_parent_get(ys)) == NULL)
break;
if (ys->ys_mymodule){
yp = ys->ys_mymodule;
}
else
if ((yp = yang_parent_get(ys)) == NULL)
break;
if ((keyw = yang_keyword_get(yp)) == Y_SPEC)
break;
else if (keyw == Y_MODULE || keyw == Y_SUBMODULE){ /* Try submodules */
Expand Down

0 comments on commit ea1dc8d

Please sign in to comment.