Interesting. I wonder if a better solution might be to bracket the
struct openvpn_pktinfo definition with
#pragma pack(1)
...
#pragma pack()
James
Tim Davies wrote:
After attempting to use OpenVPN 2.1_rc7 on a 64 bit Centos 5 platform,
I came across a peculiar error when enabling multihome.
James Yonan :
> Interesting. I wonder if a better solution might be to bracket the
> struct openvpn_pktinfo definition with
>
> #pragma pack(1)
> ...
> #pragma pack()
Yes, although gcc is allergic to #pragma's. The gcc way of expressing it
is:
struct __attribute__ ((__packed__)) my_