make sure we still build on systems that don't have IPPROTO_GRE
This commit is contained in:
parent
09db1a44bc
commit
a334c296e0
|
@ -54,9 +54,11 @@ int make_sock(struct osmo_fd *bfd, int proto,
|
|||
case IPPROTO_UDP:
|
||||
type = SOCK_DGRAM;
|
||||
break;
|
||||
#ifdef IPPROTO_GRE
|
||||
case IPPROTO_GRE:
|
||||
type = SOCK_RAW;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue