diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-09-20 15:17:27 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-09-20 15:17:27 +0000 |
commit | 83374dff3c8f20347c2efad0aef3deba243949a4 (patch) | |
tree | 640a42dacc8af8df18aac3d9018bb87695b40f36 /usr.sbin/fdformat | |
parent | e2aac47ea59ba8cda7248a031ab67fa777aa2d1b (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