[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2016-05-19 Thread Simon Déziel
Simon's patch [1] was included in version 2.72 (Vivid and later).
Marking as fix released.

1:
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=006c162382aaa30f63413b876ecbe805280c3d36

** Changed in: dnsmasq (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Simon Kelley
I think the following, much simpler, patch should solve the problem.


Simon.

diff --git a/src/dbus.c b/src/dbus.c
index 93c597c..4696442 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -156,13 +156,16 @@ static void dbus_read_servers(DBusMessage *message)
  dbus_message_iter_get_basic(&iter, &p[i]);
  dbus_message_iter_next (&iter);
  if (dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_BYTE)
-   break;
+   {
+ i++;
+ break;
+   }
}
 
 #ifndef HAVE_IPV6
  my_syslog(LOG_WARNING, _("attempt to set an IPv6 server address via 
DBus - no IPv6 support"));
 #else
- if (i == sizeof(struct in6_addr)-1)
+ if (i == sizeof(struct in6_addr))
{
  memcpy(&addr.in6.sin6_addr, p, sizeof(struct in6_addr));
 #ifdef HAVE_SOCKADDR_SA_LEN

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Ubuntu Foundations Team Bug Bot
The attachment "dnsmasq-2.68-fix-ipv6-ns.patch" seems to be a patch.  If
it isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Carlos Hsiao
** Branch unlinked: lp:~weii666/ubuntu/trusty/dnsmasq/fix-for-1327477

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Carlos Hsiao
On 14.04, Netowrk-Manager is fine. The problem is at dnsmasq receiving ipv6 
nameservers from dbus.
Here is the proposed fix in parsing ipv6 address length.

** Patch added: "dnsmasq-2.68-fix-ipv6-ns.patch"
   
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+attachment/4127746/+files/dnsmasq-2.68-fix-ipv6-ns.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Carlos Hsiao
** Also affects: dnsmasq (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: network-manager (Ubuntu)
   Status: New => Invalid

** Changed in: dnsmasq (Ubuntu)
   Status: New => Confirmed

** Changed in: dnsmasq (Ubuntu)
 Assignee: (unassigned) => Carlos Hsiao (weii666)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~weii666/ubuntu/trusty/dnsmasq/fix-for-1327477

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1327477] Re: dnsmasq not using all DHCPv6 provided nameservers

2014-06-07 Thread Carlos Hsiao
** Changed in: network-manager (Ubuntu)
 Assignee: (unassigned) => Carlos Hsiao (weii666)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327477

Title:
  dnsmasq not using all DHCPv6 provided nameservers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1327477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs