Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/nbt_server/packet.c

    r414 r745  
    8080       
    8181        /* if its not from the nbt port, then it wasn't a broadcast from us */
    82         if (src->port != lp_nbt_port(iface->nbtsrv->task->lp_ctx)) {
     82        if (src->port != lpcfg_nbt_port(iface->nbtsrv->task->lp_ctx)) {
    8383                return false;
    8484        }
     
    122122        packet->name_trn_id = request_packet->name_trn_id;
    123123        packet->ancount = 1;
    124         packet->operation = 
    125                 NBT_FLAG_REPLY | 
    126                 NBT_OPCODE_QUERY | 
    127                 NBT_FLAG_AUTHORITIVE |
     124        packet->operation =
     125                NBT_FLAG_REPLY |
     126                NBT_OPCODE_QUERY |
     127                NBT_FLAG_AUTHORITATIVE |
    128128                NBT_FLAG_RECURSION_DESIRED |
    129129                NBT_FLAG_RECURSION_AVAIL;
     
    178178        packet->name_trn_id = request_packet->name_trn_id;
    179179        packet->ancount = 1;
    180         packet->operation = 
    181                 NBT_FLAG_REPLY | 
    182                 NBT_OPCODE_QUERY | 
    183                 NBT_FLAG_AUTHORITIVE |
     180        packet->operation =
     181                NBT_FLAG_REPLY |
     182                NBT_OPCODE_QUERY |
     183                NBT_FLAG_AUTHORITATIVE |
    184184                NBT_RCODE_NAM;
    185185
     
    222222        packet->name_trn_id = request_packet->name_trn_id;
    223223        packet->ancount = 1;
    224         packet->operation = 
    225                 NBT_FLAG_REPLY | 
     224        packet->operation =
     225                NBT_FLAG_REPLY |
    226226                NBT_OPCODE_REGISTER |
    227                 NBT_FLAG_AUTHORITIVE |
     227                NBT_FLAG_AUTHORITATIVE |
    228228                NBT_FLAG_RECURSION_DESIRED |
    229229                NBT_FLAG_RECURSION_AVAIL |
     
    270270        packet->name_trn_id = request_packet->name_trn_id;
    271271        packet->ancount = 1;
    272         packet->operation = 
    273                 NBT_FLAG_REPLY | 
     272        packet->operation =
     273                NBT_FLAG_REPLY |
    274274                NBT_OPCODE_RELEASE |
    275                 NBT_FLAG_AUTHORITIVE |
     275                NBT_FLAG_AUTHORITATIVE |
    276276                rcode;
    277277       
     
    316316        packet->name_trn_id = request_packet->name_trn_id;
    317317        packet->ancount = 1;
    318         packet->operation = 
    319                 NBT_FLAG_REPLY | 
     318        packet->operation =
     319                NBT_FLAG_REPLY |
    320320                NBT_OPCODE_WACK |
    321                 NBT_FLAG_AUTHORITIVE;
     321                NBT_FLAG_AUTHORITATIVE;
    322322       
    323323        packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
Note: See TracChangeset for help on using the changeset viewer.