Unified netconf input function

First for external use, later internal
This commit is contained in:
Olof hagsand 2023-03-06 10:48:46 +01:00
parent 04d5f52d90
commit e7c9f3d075
12 changed files with 534 additions and 32 deletions

View file

@ -494,7 +494,7 @@ function chunked_equal()
fi
}
# Given a string, add RFC6242 chunked franing around it
# Given a string, add RFC6242 chunked framing around it
# Args:
# 0: string
function chunked_framing()
@ -818,6 +818,7 @@ function expecteof(){
retval=$2
input=$3
expect=$4
if [ $# -gt 4 ]; then
errfile=$(mktemp)
expecterr=$5