Problem (and the patch) when having multiple search domains on a network.

2005-02-11 Thread Tomislav Vujec
Hi, When the domainName DHCP option contains spaces, nm-named-manager proclaims it as invalid, although multiple domain names are often used in the DHCP server configuration. The attached patch fixes this behavior. 2005-02-11 Tomislav Vujec [EMAIL PROTECTED] * named/nm-named-manager.c

Re: CVS 8/2 compile error

2005-02-11 Thread Colin Walters
On Tue, 2005-02-08 at 13:34 +0100, Tom Parker wrote: Getting errors on NetworkManagerDevice.c, because I don't appear to have a pci/types.h. No idea where the heck this would be (on a Debian system), but then worked out that we only needed a few types from it and so wrote a patch. Index:

Ethereal comparison 1.265 vs 1.270 DHCP Discover

2005-02-11 Thread Bill Moss
Bootstrap Protocol identical down to 1.270: Option 53 DHCP Message TYPE = DHCP Discover Option 57: Maximum DHCP Message Size = 548 Option 51: IP Address Lease Time = infinity Option 55: Parameter Request List Option 12: Host Name = localhost.localdomain == SMC DHCP does not send an ARP. It is

Re: define u64 too

2005-02-11 Thread Dan Williams
On Fri, 2005-02-11 at 16:32 +0100, [EMAIL PROTECTED] wrote: /usr/include/linux/ethtool.h:243: error: syntax error before u64 hm, i have to define u64 too... Fixed, thanks. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org

Re: Ethereal comparison 1.265 vs 1.270 DHCP Discover

2005-02-11 Thread Dan Williams
On Fri, 11 Feb 2005, Bill Moss wrote: Your patch did not work. From experience with dhcpcd.c, I knew it would not work but I also knew how to fix it. The 1.265 and 1.270-mypatch discovery messages that work are 346 bytes and the UDP part is 312. The 1.270 discovery message that does not

Re: Ethereal comparison 1.265 vs 1.270 DHCP Discover

2005-02-11 Thread Dan Williams
Bill, Can you apply this patch to current CVS copy of NM? It changes dhcpcd/buildmsg.c only. It now pads the message to over 300 bytes and ensures that the message is always an even number of bytes long. Thanks, Dan On Fri, 11 Feb 2005, Bill Moss wrote: I think older hardware may reject

Re: Ethereal comparison 1.265 vs 1.270 DHCP Discover

2005-02-11 Thread Bill Moss
I removed the first patch from dhcpcd.c and applied the patch to buildmsg.c. It works. Here is what ethereal shows 324 UDP data PAD_STOP +8 UDP header = 332 UDP total +20 IP header = 352 UDPIP +14 Ethernet header = 366 total I tried #define PAD_STOP304 and it also works 304 UDP