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

Stefan Berger stefanb at us.ibm.com
Fri Apr 30 11:53:39 UTC 2010


Daniel Veillard <veillard at 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 at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100430/967fc685/attachment-0001.htm>


More information about the libvir-list mailing list