On 04/25/2014 04:11 PM, Fedor Lyakhov wrote: > New module dhcp_vendopt.c provides translate_dhcp_vendopt() function to > convert > command-line DHCP vendor option string into internal DHCP TLV (tag-length- > value) uint8_t buffer. The buffer is stored in global Slirp instance. > > Signed-off-by: Fedor Lyakhov <fedor.lyak...@gmail.com> > --- > slirp/Makefile.objs | 1 + > slirp/dhcp_vendopt.c | 163 > +++++++++++++++++++++++++++++++++++++++++++++++++++ > slirp/slirp.c | 5 ++ > slirp/slirp.h | 5 ++ > 4 files changed, 174 insertions(+) > create mode 100644 slirp/dhcp_vendopt.c
> +++ b/slirp/dhcp_vendopt.c > @@ -0,0 +1,163 @@ > +/* > + * dhcp_vendoropt.c: adds vendor-specific options (option 43) to DHCP > Offer/Ack > + * > + * Copyright (c) 2014 Fedor Lyakhov <fedor.lyak...@gmail.com> > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either > + * version 3 of the License, or (at your option) any later version. Sorry, but this won't work. Qemu has portions that are GPLv2-only, which is incompatible with GPLv3+. Can you release this as GPLv2+ instead? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature