summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-07 12:15:31 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-07 12:15:31 +0000
commit953ba089d48e99229fee21dfaa4c47b3bead9340 (patch)
treef3d8ce5beed4c59030e9c28d9ae507a184dc4cce
parent1ee2c6eb63c073628199f9f930325feff3b5e474 (diff)
xpp: reset a reserved protocol field.
(From r4462 in branches/1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4466 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--xpp/card_global.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xpp/card_global.c b/xpp/card_global.c
index 7a3d101..beb0fb1 100644
--- a/xpp/card_global.c
+++ b/xpp/card_global.c
@@ -410,6 +410,7 @@ static void global_packet_dump(const char *msg, xpacket_t *pack);
}
XFRAME_NEW_CMD(xframe, pack, xbus, GLOBAL, AB_REQUEST, 0);
RPACKET_FIELD(pack, GLOBAL, AB_REQUEST, rev) = XPP_PROTOCOL_VERSION;
+ RPACKET_FIELD(pack, GLOBAL, AB_REQUEST, reserved) = 0;
XBUS_DBG(DEVICES, xbus, "Protocol Version %d\n", XPP_PROTOCOL_VERSION);
ret = send_cmd_frame(xbus, xframe);
return ret;