mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:22:07 +00:00
Merge pull request #13867 from mjstapp/fix_opq_source
isisd, ospfd: fix opaque zapi source parsing
This commit is contained in:
commit
07a2b9d41e
@ -772,9 +772,9 @@ static int isis_opaque_msg_handler(ZAPI_CALLBACK_ARGS)
|
||||
|
||||
switch (info.type) {
|
||||
case LINK_STATE_SYNC:
|
||||
STREAM_GETC(s, dst.proto);
|
||||
STREAM_GETW(s, dst.instance);
|
||||
STREAM_GETL(s, dst.session_id);
|
||||
dst.proto = info.src_proto;
|
||||
dst.instance = info.src_instance;
|
||||
dst.session_id = info.src_session_id;
|
||||
dst.type = LINK_STATE_SYNC;
|
||||
ret = isis_te_sync_ted(dst);
|
||||
break;
|
||||
|
@ -2161,9 +2161,9 @@ static int ospf_opaque_msg_handler(ZAPI_CALLBACK_ARGS)
|
||||
|
||||
switch (info.type) {
|
||||
case LINK_STATE_SYNC:
|
||||
STREAM_GETC(s, dst.proto);
|
||||
STREAM_GETW(s, dst.instance);
|
||||
STREAM_GETL(s, dst.session_id);
|
||||
dst.proto = info.src_proto;
|
||||
dst.instance = info.src_instance;
|
||||
dst.session_id = info.src_session_id;
|
||||
dst.type = LINK_STATE_SYNC;
|
||||
ret = ospf_te_sync_ted(dst);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user