+ l=dict_lookup(d,"proxy");
+ if (l) {
+ st->use_proxy=True;
+ memset(&st->proxy,0,sizeof(st->proxy));
+ st->proxy.sin_family=AF_INET;
+ i=list_elem(l,0);
+ if (!i || i->type!=t_string) {
+ cfgfatal(st->loc,"udp","proxy must supply ""addr"",port\n");
+ }
+ a=string_item_to_ipaddr(i,"proxy");
+ st->proxy.sin_addr.s_addr=htonl(a);
+ i=list_elem(l,1);
+ if (!i || i->type!=t_number) {
+ cfgfatal(st->loc,"udp","proxy must supply ""addr"",port\n");
+ }
+ st->proxy.sin_port=htons(i->data.number);
+ st->ops.min_start_pad=8;
+ }