]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/ntp/sntp/timing.c
MFV r277782:
authorPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 27 Jan 2015 01:45:47 +0000 (01:45 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 27 Jan 2015 01:45:47 +0000 (01:45 +0000)
commit20869109e3493ddd4c34a786e27adcc5f1d5f2de
tree6ebeec9fa0daea04d85fdccc58fabc30b4356153
parent09e84db3830c992e6447d8a4410907756d255875
parentaae6b2073aeb7ba1118183bb52286e44dd04df28
MFV r277782:

Merge some cherry-picked fixes originating in OpenBSD

Check whether the version field is available before looking at it.
While we're at it, use ND_TCHECK(), rather than a hand-rolled check, to
check whether we have the full fixed-length portion of the IPv4 header.

commit c67afe913011138a2504ec4d3d423b48e73b12f3

Do more length checking. From OpenBSD.

commit d7516761f9c4877bcb05bb6543be3543e165249
contrib/tcpdump/print-ip.c
contrib/tcpdump/print-sl.c