On Wed, Jul 25, 2012 at 08:02:16AM +0800, f5b wrote:
> /src/sys/net/if_spppsubr.c
> rev=1.98
>
> 1. line 3557
> p opt[i++] = 0; /* TBD */
>
> 2. see line (begin with ^L)
> 466
> 1145
> 1276
> 1991
> 2675
> 4116
> 4430
>
> compare to line (insert empty line)
> 3150
> 3642
For anyone interested in this.
Index: if_spppsubr.c
===================================================================
RCS file: /home/danh/.cvs/openbsd/src/sys/net/if_spppsubr.c,v
retrieving revision 1.98
diff -u -p -r1.98 if_spppsubr.c
--- if_spppsubr.c 24 Jul 2012 15:16:20 -0000 1.98
+++ if_spppsubr.c 25 Jul 2012 09:28:36 -0000
@@ -463,7 +463,7 @@ static const struct cp *cps[IDX_COUNT] =
};
-/*
+/*
* Exported functions, comprising our interface to the lower layer.
*/
@@ -1142,7 +1142,7 @@ sppp_ioctl(struct ifnet *ifp, u_long cmd
}
-/*
+/*
* Cisco framing implementation.
*/
@@ -1273,7 +1273,7 @@ sppp_cisco_send(struct sppp *sp, u_int32
ifp->if_obytes += m->m_pkthdr.len + sp->pp_framebytes;
}
-/*
+/*
* PPP protocol implementation.
*/
@@ -1988,7 +1988,7 @@ sppp_cp_change_state(const struct cp *cp
break;
}
}
-/*
+/*
*--------------------------------------------------------------------------*
* *
* The LCP implementation. *
@@ -2672,7 +2672,7 @@ sppp_lcp_check_and_close(struct sppp *sp
lcp.Close(sp);
}
-/*
+/*
*--------------------------------------------------------------------------*
* *
* The IPCP implementation. *
@@ -3554,7 +3554,7 @@ sppp_ipv6cp_scr(struct sppp *sp)
if (sp->ipv6cp.opts & (1 << IPV6CP_OPT_COMPRESSION)) {
opt[i++] = IPV6CP_OPT_COMPRESSION;
opt[i++] = 4;
-p opt[i++] = 0; /* TBD */
+ opt[i++] = 0; /* TBD */
opt[i++] = 0; /* TBD */
/* variable length data may follow */
}
@@ -4113,7 +4113,7 @@ sppp_chap_scr(struct sppp *sp)
sp->myauth.name,
0);
}
-/*
+/*
*--------------------------------------------------------------------------*
* *
* The PAP implementation. *
@@ -4427,7 +4427,7 @@ sppp_pap_scr(struct sppp *sp)
(size_t)pwdlen, sp->myauth.secret,
0);
}
-/*
+/*
* Random miscellaneous functions.
*/