search for: leasetim

Displaying 8 results from an estimated 8 matches for "leasetim".

Did you mean: leasetime
2025 Feb 15
1
[PATCH] ipconfig: align reads of ext for sparc64
..._proto.c index 4e560b84..2b83de45 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -112,8 +112,11 @@ static int dhcp_parse(struct netdev *dev, struct bootp_hdr *hdr, break; switch (opt) { case 51: /* IP Address Lease Time */ - if (len == 4) - leasetime = ntohl(*(uint32_t *)ext); + if (len == 4) { + /* Sparc64 needs ext reads to be type aligned */ + memcpy(&leasetime, ext, 4); + leasetime = ntohl(leasetime); + } break; case 53: /* DHCP Message Type */ if (len == 1) -- 2.47.2
2025 Feb 28
0
[PATCH] ipconfig: align reads of ext for RISC architectures
..._proto.c index 4e560b84..2b83de45 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -112,8 +112,11 @@ static int dhcp_parse(struct netdev *dev, struct bootp_hdr *hdr, break; switch (opt) { case 51: /* IP Address Lease Time */ - if (len == 4) - leasetime = ntohl(*(uint32_t *)ext); + if (len == 4) { + /* Sparc64 needs ext reads to be type aligned */ + memcpy(&leasetime, ext, 4); + leasetime = ntohl(leasetime); + } break; case 53: /* DHCP Message Type */ if (len == 1) -- 2.47.2
2025 Feb 28
1
[PATCH v2] ipconfig: align reads of ext for RISC architectures
..._proto.c index 4e560b84..2b83de45 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -112,8 +112,11 @@ static int dhcp_parse(struct netdev *dev, struct bootp_hdr *hdr, break; switch (opt) { case 51: /* IP Address Lease Time */ - if (len == 4) - leasetime = ntohl(*(uint32_t *)ext); + if (len == 4) { + /* Sparc64 needs ext reads to be type aligned */ + memcpy(&leasetime, ext, 4); + leasetime = ntohl(leasetime); + } break; case 53: /* DHCP Message Type */ if (len == 1) -- 2.47.2
2017 Nov 15
0
Issues on hibernated domains
...lict. I found this patch: https://www.redhat.com/archives/libvir-list/2016-October/msg00561.html And I tried setting it in my host but it discards silently my settings after doing virsh net-edit. So It may not be apllied to the 2.5.0 release ? That's what I tried: <dhcp> <leasetime>24h</leasetime> <range start='192.168.122.2' end='192.168.122.254'/> </dhcp> I also tried leasetime -1 with the same results. I also found about adding infinite to the dhcp-range at /var/lib/libvirt/dnsmasq/default.conf. But this file has a comment a...
2011 Nov 21
1
vigor 2920 problems
One of our clients has a Draytek Vigor 2920- their natted Snom phones behind it are registered to an Asterisk 1.4 server on an external public IP. I've set QOS, bandwidth management and turned off the SIP ALG via telnet but I'm still having some problems with some of the phones losing registration if Asterisk is restarted. I can see the phones sending SIP REGISTER messages, but they
2009 Nov 20
4
running dhcp-server on dom0 over a vnic.
...=================== 172.0.94.0 Macro :Subnet = 255.255.255.0 :Router = 172.0.94.111 :Broadcst =172.0.94.255:NISdmain="celab.sfbay.sun.com":NISservs=129.146.17.35: lm2-dom0 Macro :Include = Locale:Timeserv = 10.5.184.94 :LeaseTim=86400:LeaseNeg:DNSdmain="network.com":DNSserv=129.147.9.5: Locale Macro :UTCoffst=-28800: Partial output of pntadm root@lm2-dom0:~# pntadm -P 172.0.94.0 Client ID Flags Client IP Server IP Lease Expiration Macro C...
2002 Jul 28
0
Samba connection problem btw RH7.3 and WinME
...cpcd-eth0.info IPADDR=218.188.33.13 NETMASK=255.255.254.0 NETWORK=218.188.32.0 BROADCAST=218.188.33.255 GATEWAY=218.188.32.1 DNS=210.0.144.66,210.0.144.26 DHCPSID=192.168.252.202 DHCPGIADDR=218.188.32.1 DHCPSIADDR=192.168.252.202 DHCPCHADDR=00:50:FC:39:3B:59 DHCPSHADDR=00:02:85:1B:BD:60 DHCPSNAME= LEASETIME=3600 RENEWALTIME=1800 REBINDTIME=3150 INTERFACE=eth0 CLASSID="Linux 2.4.18-3 i686" CLIENTID=00:50:FC:39:3B:59 I suspect the problem may be coming from the ethernet card. Because I have only one ethernet card in RH7.3 box for connecting to Internet. I removed the broadband cable and p...
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with updates coming from blktap2.5. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>