[CRIU] [PATCH 1/9] tun: rename FD_TYPES__TUN to FD_TYPES__TUNF

Pavel Emelyanov xemul at parallels.com
Mon Oct 27 10:53:08 PDT 2014


On 10/08/2014 02:35 PM, Ruslan Kuprieiev wrote:
> We have two global enums with the member TUN. The first one is in fdinfo.proto and the
> second one is in netdev.proto. protoc complains about having TUN in 2 global enums because
> of the enum rules for C++(even though we're compiling .proto files for python).
> So lets rename TUN into TUNF to avoid that conflict.
> 
> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>

I'll pick patch #1, thanks.



More information about the CRIU mailing list