diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-12 17:41:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-12 18:47:57 +0000 |
commit | 40ad91330d6ceb9d429ad5943128b2faf5bfa0f0 (patch) | |
tree | 08e3777687d4f12e2cb2af2c81f032a3d51fe720 /src/isdnhdlc.c | |
parent | 55088b76cec00674d2becf7ced4723c5998a0a42 (diff) |
ctrl: Fix parsing of ERROR recvd msgs with id=err
Our implementation generates ERROR CTRL messages with ID=error when it
is unable to parse a CMD. However, it doesn't account for them when
trying to receive and parse this kind of message. As a result, it will
return an ERROR message with a different description. This commit fixes
the old behaviour to success at parsing and returning the received
description to the caller.
Change-Id: I564ab1a7e845388f87accda44fbf165e5adc2480
Diffstat (limited to 'src/isdnhdlc.c')
0 files changed, 0 insertions, 0 deletions