vdagent: VDP_LAST_PORT is redundant with VDP_END_PORT. Remove it
commit02370e444514a15c58f166d86f91b4eeddb3cb11
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 13 Nov 2015 15:20:21 +0000 (13 16:20 +0100)
committerVictor Toso <victortoso@redhat.com>
Fri, 13 Nov 2015 16:57:07 +0000 (13 17:57 +0100)
tree65c6513c02ccb70a73d05f2a892f56d48a8e5670
parent0159111b22b449cf6a0225723c25f3a0938bce3f
vdagent: VDP_LAST_PORT is redundant with VDP_END_PORT. Remove it

VDP_LAST_PORT is equal to VDP_SERVER_PORT while VDP_END_PORT (defined
in spice-protocol) is VDP_SERVER_PORT + 1 so the code needs to be
adjusted to account for this difference.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
src/vdagent-virtio-port.c