[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2] nwfilter: Also pick IP address from a DHCP ACK message




Daniel Veillard <veillard redhat com> wrote on 04/30/2010 07:50:02 AM:


> Please respond to veillard

>
[...]
> >  
> > -        case 53: /* Message type */
> > +        case DHCP_OPT_MESSAGETYPE: /* Message type */
> >              if (dhcp_opts_len >= 3) {
> >                  uint8_t *val = (uint8_t *)&dhcpopt->value;
> >                  switch (*val) {
> > +                case DHCP_MSGT_DHCPACK:
> >                  case DHCP_MSGT_DHCPOFFER:
> >                      *vmaddr = dhcp->yiaddr;
> >                      *howDetected = DETECT_DHCP;
> >
>
>   Okay, ACK,


Pushed. Thanks.

   Stefan

>
> Daniel
>
> --
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
> daniel veillard com  | Rpmfind RPM search engine
http://rpmfind.net/
>
http://veillard.com/ | virtualization library  http://libvirt.org/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]