Compare, with false if either is NULL */
| 315 | |
| 316 | /* Compare, with false if either is NULL */ |
| 317 | static bool match_type(const u8 *t1, const u8 *t2) |
| 318 | { |
| 319 | /* Missing fields are possible. */ |
| 320 | if (!t1 || !t2) |
| 321 | return false; |
| 322 | |
| 323 | return featurebits_eq(t1, t2); |
| 324 | } |
| 325 | |
| 326 | static void set_channel_type(struct channel *channel, const u8 *type) |
| 327 | { |
no test coverage detected