Bug 202297

Summary: usr/src/sys/netpfil/ipfw/ip_fw_sockopt.c:2837: bad if test ?
Product: Base System Reporter: David Binderman <dcb314>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: ae
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description David Binderman 2015-08-13 16:37:18 UTC
[usr/src/sys/netpfil/ipfw/ip_fw_sockopt.c:2837]: (style) Same expression on both sides of '>'.

  else if ((uintptr_t)b->handler > (uintptr_t)b->handler)

Maybe

  else if ((uintptr_t)a->handler > (uintptr_t)b->handler)
Comment 1 Andrey V. Elsukov freebsd_committer freebsd_triage 2017-05-02 05:13:55 UTC
Fixed in r295766.