CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/09/16 13:39:47

Modified files:
        usr.sbin/arp   : arp.c 

Log message:
Simplify function detection

To determine which "function" (get, set, ...) is requested, use getopt(3)'s
result directly as ndp(8) does instead of translating everyting into
internal F_* defines and back again.

Avoids one level of indirection, chops 22 lines of code and brings both
tools closer together.

OK bluhm

Reply via email to