40c40
< * $FreeBSD: head/sys/netgraph/ng_base.c 69923 2000-12-12 18:59:09Z julian $
---
> * $FreeBSD: head/sys/netgraph/ng_base.c 70159 2000-12-18 20:03:32Z julian $
859c859,861
< if (tp->version != NG_VERSION || namelen == 0 || namelen > NG_TYPELEN) {
---
> if ((tp->version != NG_ABI_VERSION)
> || (namelen == 0)
> || (namelen > NG_TYPELEN)) {
1491a1494,1499
> /* Check response pointer */
> if (resp == NULL) {
> error = EINVAL;
> break;
> }
>
1567a1576,1581
> /* Check response pointer */
> if (resp == NULL) {
> error = EINVAL;
> break;
> }
>
< * $FreeBSD: head/sys/netgraph/ng_base.c 69923 2000-12-12 18:59:09Z julian $
---
> * $FreeBSD: head/sys/netgraph/ng_base.c 70159 2000-12-18 20:03:32Z julian $
859c859,861
< if (tp->version != NG_VERSION || namelen == 0 || namelen > NG_TYPELEN) {
---
> if ((tp->version != NG_ABI_VERSION)
> || (namelen == 0)
> || (namelen > NG_TYPELEN)) {
1491a1494,1499
> /* Check response pointer */
> if (resp == NULL) {
> error = EINVAL;
> break;
> }
>
1567a1576,1581
> /* Check response pointer */
> if (resp == NULL) {
> error = EINVAL;
> break;
> }
>