Hi,

I'm trying to get a list of export names from the server so I'm
sending NBD_OPT_LIST (3) and the server replies with an option type of
0x3000000 instead of 3.

I think the problem lies in nbd-server.c:send_reply(). The opt value
given is in host byte order but must be send in network byte order. So
the code is missing a

        opt = htonl(opt);

Right?

MfG
        Goswin

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to