Commit 0bebaa3
committed
libpolycube: fix get_type() in basecube
get_type() was returning a local variable that was never set, so it always
returned CubeType::TC, this causes a performance degradation in pcn-iptables
because the fib_lookup kernel feature was never used.
Fixes: 5a3e91e ("implement base datamodel handling in polycubed")
Signed-off-by: Mauricio Vasquez B <mauriciovasquezbernal@gmail.com>1 parent 8af01d1 commit 0bebaa3
2 files changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments