Cleanup _FreeBSD_version.
This commit is contained in:
parent
64806a739b
commit
02d48226cc
@ -1391,9 +1391,6 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
|
||||
twidth = strlen(timestr);
|
||||
}
|
||||
if (rule->timestamp) {
|
||||
#if _FreeBSD_version < 500000 /* XXX check */
|
||||
#define _long_to_time(x) (time_t)(x)
|
||||
#endif
|
||||
t = _long_to_time(rule->timestamp);
|
||||
|
||||
strcpy(timestr, ctime(&t));
|
||||
|
Loading…
Reference in New Issue
Block a user