Correctly set host number to zero when computing traffic selector range
This commit is contained in:
1 parent
dd326c114f
commit
ad78bb13c8
1 file changed
+1
@@ -119,6 +119,7 @@ static void calc_range(private_traffic_selector_t *this, u_int8_t netbits)
|
||||
mask--;
|
||||
}
|
||||
}
|
||||
this->from[byte] &= ~mask;
|
||||
this->to[byte] = this->from[byte] | mask;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user