Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/networking/dnsd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1178 by niro, Wed Aug 18 21:56:57 2010 UTC revision 1179 by niro, Wed Dec 15 21:33:41 2010 UTC
# Line 388  static int process_packet(struct dns_ent Line 388  static int process_packet(struct dns_ent
388   query_len = strlen(query_string) + 1;   query_len = strlen(query_string) + 1;
389   /* may be unaligned! */   /* may be unaligned! */
390   unaligned_type_class = (void *)(query_string + query_len);   unaligned_type_class = (void *)(query_string + query_len);
391   query_len += sizeof(unaligned_type_class);   query_len += sizeof(*unaligned_type_class);
392   /* where to append answer block */   /* where to append answer block */
393   answb = (void *)(unaligned_type_class + 1);   answb = (void *)(unaligned_type_class + 1);
394    

Legend:
Removed from v.1178  
changed lines
  Added in v.1179