Attention is currently required from: lynxis lazus, pespin.
Patch set 4:Code-Review +2
1 comment:
File library/RAW_NS.ttcnpp:
Patch Set #4, Line 512: if (isvalue(cause) and valueof(cause) == NS_CAUSE_UNKNOWN_IP_ENDPOINT) {
the ttcn3 cheat sheet says it's only for record/unions.
`ispresent()` is suitable for matching templates that can be `?`/`*`, but here `cause` is restricted to `(omit)` (a value or `omit`), so `isvalue()` is fine here.
You could also do it like this: `match(cause, NS_CAUSE_UNKNOWN_IP_ENDPOINT)`, but I am fine either way.
To view, visit change 39063. To unsubscribe, or for help writing mail filters, visit settings.