summaryrefslogtreecommitdiffstats
path: root/sys/netatm/ipatm/ipatm_vcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatm/ipatm/ipatm_vcm.c')
-rw-r--r--sys/netatm/ipatm/ipatm_vcm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netatm/ipatm/ipatm_vcm.c b/sys/netatm/ipatm/ipatm_vcm.c
index aceb804..33605e1 100644
--- a/sys/netatm/ipatm/ipatm_vcm.c
+++ b/sys/netatm/ipatm/ipatm_vcm.c
@@ -371,11 +371,7 @@ ipatm_openpvc(pvp, sivp)
* Validate fixed destination IP address
*/
if (pvp->ipp_dst.sin_addr.s_addr != INADDR_ANY) {
-#if (defined(BSD) && (BSD >= 199306))
if (in_broadcast(pvp->ipp_dst.sin_addr, &nip->nif_if) ||
-#else
- if (in_broadcast(pvp->ipp_dst.sin_addr) ||
-#endif
IN_MULTICAST(ntohl(pvp->ipp_dst.sin_addr.s_addr)) ||
ipatm_chknif(pvp->ipp_dst.sin_addr, inp)) {
err = EINVAL;
OpenPOWER on IntegriCloud