Oleg Bulyzhin
3995ad1768
Fix ipfw table creation when net.inet.ip.fw.tables_sets = 0 and non zero set
specified on table creation. This fixes following:
# sysctl net.inet.ip.fw.tables_sets
net.inet.ip.fw.tables_sets: 0
# ipfw table all info
# ipfw set 1 table 1 create type addr
# ipfw set 1 table 1 create type addr
# ipfw add 10 set 1 count ip from table\(1\) to any
00010 count ip from table(1) to any
# ipfw add 10 set 1 count ip from table\(1\) to any
00010 count ip from table(1) to any
# ipfw table all info
--- table(1), set(1) ---
kindex: 4, type: addr
references: 1, valtype: legacy
algorithm: addr:radix
items: 0, size: 296
--- table(1), set(1) ---
kindex: 3, type: addr
references: 1, valtype: legacy
algorithm: addr:radix
items: 0, size: 296
--- table(1), set(1) ---
kindex: 2, type: addr
references: 0, valtype: legacy
algorithm: addr:radix
items: 0, size: 296
--- table(1), set(1) ---
kindex: 1, type: addr
references: 0, valtype: legacy
algorithm: addr:radix
items: 0, size: 296
#
MFC after: 1 week
2018-04-11 11:12:20 +00:00
..
2018-04-09 19:11:24 +00:00
2018-04-10 20:31:25 +00:00
2018-04-10 12:53:48 +00:00
2018-04-06 19:47:44 +00:00
2018-04-10 14:07:02 +00:00
2018-04-09 17:24:01 +00:00
2018-04-10 12:53:48 +00:00
2018-04-02 23:40:50 +00:00
2018-03-29 04:02:50 +00:00
2018-03-04 13:27:21 +00:00
2018-04-10 18:05:02 +00:00
2018-04-10 13:25:42 +00:00
2018-04-06 17:35:35 +00:00
2018-03-06 14:28:37 +00:00
2018-04-10 19:18:16 +00:00
2018-02-13 17:43:54 +00:00
2018-04-09 17:24:01 +00:00
2018-03-11 20:13:15 +00:00
2018-04-11 01:43:29 +00:00
2018-02-14 00:12:03 +00:00
2018-02-26 18:23:36 +00:00
2018-04-09 22:06:16 +00:00
2018-04-08 01:32:56 +00:00
2018-04-10 19:48:24 +00:00
2018-03-30 18:50:13 +00:00
2018-02-23 18:15:50 +00:00
2018-04-10 17:00:37 +00:00
2018-04-08 12:08:20 +00:00
2018-03-20 17:05:23 +00:00
2018-04-11 11:12:20 +00:00
2018-01-22 02:08:10 +00:00
2018-03-28 23:33:26 +00:00
2018-01-25 22:25:13 +00:00
2017-11-27 15:23:17 +00:00
2018-02-10 01:09:22 +00:00
2018-03-27 20:51:49 +00:00
2018-04-06 17:35:35 +00:00
2018-04-10 21:14:54 +00:00
2018-03-20 17:58:51 +00:00
2017-12-25 04:48:39 +00:00
2018-03-30 18:50:13 +00:00
2018-04-08 22:59:34 +00:00
2018-04-07 20:53:34 +00:00
2018-04-08 19:23:50 +00:00
2018-03-24 21:30:24 +00:00
2018-04-05 00:32:01 +00:00
2018-04-07 17:06:13 +00:00
2018-04-06 17:35:35 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00