osmo-ggsn/ggsn
Pau Espin 0ab62fe081 ggsn: Fix DNS not sent in PDP context response
During IPv6 support implementation, helper function pco_contains_proto
was added which contains an error: It is only capable of finding first
protocol correctly, and as a consequence, in my setup DNS servers where not
sent back to the SGSN/MS, resulting in phone being able to connect to
IPs but not to domain names which required DNS resolution.

The condition in the while loop is also changed to match the increment
of the variable inside the loop to make it easier to understand at first
glance.

Fixes: 1ae98777d9

Change-Id: Icc2e6716c33d78d3c3e000f529806228d8aa155e
2017-08-30 15:56:27 +02:00
..
Makefile.am IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement 2017-08-11 10:45:56 +02:00
checksum.c IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement 2017-08-11 10:45:56 +02:00
checksum.h IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement 2017-08-11 10:45:56 +02:00
cmdline.c ggsn: cmdline: no need to specify interface anymore 2016-05-10 19:06:01 +02:00
cmdline.ggo ggsn: cmdline: no need to specify interface anymore 2016-05-10 19:06:01 +02:00
cmdline.h ggsn: cmdline: no need to specify interface anymore 2016-05-10 19:06:01 +02:00
ggsn.c ggsn: Fix DNS not sent in PDP context response 2017-08-30 15:56:27 +02:00
gtp-kernel.c ippool: Add IPv6 support to IP pool implementation 2017-08-09 22:08:57 +02:00
gtp-kernel.h ippool: Add IPv6 support to IP pool implementation 2017-08-09 22:08:57 +02:00
icmpv6.c IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement 2017-08-11 10:45:56 +02:00
icmpv6.h IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement 2017-08-11 10:45:56 +02:00