make sure we still build on systems that don't have IPPROTO_GRE

changes/88/3188/1
Harald Welte 11 years ago
parent 09db1a44bc
commit a334c296e0
  1. 2
      openbsc/src/libcommon/socket.c

@ -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…
Cancel
Save