loudmouth/lm-resolver.c
changeset 647 2e35e7499ee8
parent 628 1ac0534623ef
child 677 a6a41aec40f2
equal deleted inserted replaced
646:881b49e81207 647:2e35e7499ee8
   482         g_assert (len >= 0);
   482         g_assert (len >= 0);
   483         pos += len;
   483         pos += len;
   484         /* Ignore type, ttl, class and dlen */
   484         /* Ignore type, ttl, class and dlen */
   485         pos += 10;
   485         pos += 10;
   486         GETSHORT (pref, pos);
   486         GETSHORT (pref, pos);
       
   487         /* Ignore weight */
       
   488         pos += 2;
   487         GETSHORT (port, pos);
   489         GETSHORT (port, pos);
   488 
   490 
   489         len = dn_expand (srv, end, pos, name, 255);
   491         len = dn_expand (srv, end, pos, name, 255);
   490         if (pref < pref_prio) {
   492         if (pref < pref_prio) {
   491             pref_prio = pref;
   493             pref_prio = pref;