summaryrefslogtreecommitdiffstats
path: root/ggsn_tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-04 19:40:44 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-04 19:40:44 +0100
commite7096c15719bf1689fea11cff8efc7884b15f3a3 (patch)
treefaffd11972468d74a6c5d5be7328c511a7c9cf58 /ggsn_tests
parenteb9184ddb41d602fc1142a80d5801d0076e04456 (diff)
ggsn: verify IPv4 addr + byte order in IPCP PCO DNS addresses
Diffstat (limited to 'ggsn_tests')
-rw-r--r--ggsn_tests/GGSN_Tests.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 9e53e94..22cdc21 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -997,7 +997,7 @@ module GGSN_Tests {
}
/* verify IPCP contains both primary and secondary DNS */
var IpcpPacket ipcp := dec_IpcpPacket(f_PCO_extract_proto(ctx.pco_neg, '8021'O));
- if (not match(ipcp, tr_IPCP_Ack_DNS)) {
+ if (not match(ipcp, tr_IPCP_Ack_DNS(0, 'C0A86401'O, '08080808'O))) {
setverdict(fail, "Primary/Secondary DNS not found in IPCP");
}
f_pdp_ctx_del(ctx, '1'B);