summaryrefslogtreecommitdiff
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2011-09-20 15:17:27 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2011-09-20 15:17:27 +0000
commit83374dff3c8f20347c2efad0aef3deba243949a4 (patch)
tree640a42dacc8af8df18aac3d9018bb87695b40f36 /usr.sbin/fdformat
parente2aac47ea59ba8cda7248a031ab67fa777aa2d1b (diff)
pf_setup_pdesc() panics if address family is neither AF_INET nor
AF_INET6. So remove useless af switch defaults here and there. Always use "switch(af)" instead of "if (af) else" for af dependent code. Always use AF_ defines instead of PF_ when checking af values. ok claudio mpf henning
Diffstat (limited to 'usr.sbin/fdformat')
0 files changed, 0 insertions, 0 deletions