Instead of calling getuptime() all the time in ARP code, do it only
authorbluhm <bluhm@openbsd.org>
Mon, 27 Jun 2022 12:47:07 +0000 (12:47 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 27 Jun 2022 12:47:07 +0000 (12:47 +0000)
commit41c068b6aedf38c27187dfb21656c54bbe7bc52f
tree6bb64ba1c946fc6f58f752f2aca6dec7cf66b3b9
parent5cdf039891a30c7ea5f55bf9ee0f46abc4409746
Instead of calling getuptime() all the time in ARP code, do it only
once per function.  This gives a more consistent time value.
OK claudio@ miod@ mvs@
sys/netinet/if_ether.c