hammer mirror-stream only works in one direction

Michael Neumann mneumann at ntecs.de
Tue Sep 9 16:27:31 PDT 2008


Michael Neumann schrieb:
Hi,

This works:

  192.168.5.1 # hammer mirror-stream /src 192.168.5.2:/dest

This not:

  192.168.5.2 # hammer mirror-stream 192.168.5.1:/src /dest

It exits with "validate_mrec_header: short read".
I think I found the bug!

In sbin/hammer/cmd_mirror.c, replace "mirror-read-streaming" with 
"mirror-read-stream"!

Can someone please commit this?

Regards,

  Michael





More information about the Bugs mailing list