aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2018-05-30 08:10:33 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-05-31 21:19:24 +0200
commit8282e42614195735f8667ffc987146699989cba6 (patch)
tree4a4113da8caf61acceccd566b5bd58c027e7cbb2
parent740892b72d2bdd5674306ae601f4d043be7cd956 (diff)
downloadslirp-8282e42614195735f8667ffc987146699989cba6.zip
slirp-8282e42614195735f8667ffc987146699989cba6.tar.gz
slirp-8282e42614195735f8667ffc987146699989cba6.tar.bz2
slirp/ncsi: fix "Get Version ID" payload length
Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-rw-r--r--ncsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncsi.c b/ncsi.c
index bc34f0f..9ab2428 100644
--- a/ncsi.c
+++ b/ncsi.c
@@ -59,7 +59,7 @@ static const struct ncsi_rsp_handler {
{ NCSI_PKT_RSP_EGMF, 4, NULL },
{ NCSI_PKT_RSP_DGMF, 4, NULL },
{ NCSI_PKT_RSP_SNFC, 4, NULL },
- { NCSI_PKT_RSP_GVI, 36, NULL },
+ { NCSI_PKT_RSP_GVI, 40, NULL },
{ NCSI_PKT_RSP_GC, 32, ncsi_rsp_handler_gc },
{ NCSI_PKT_RSP_GP, -1, NULL },
{ NCSI_PKT_RSP_GCPS, 172, NULL },