Revision 01111fc4 proto/bgp/packets.c

View differences:

proto/bgp/packets.c
1291 1291
    }
1292 1292

  
1293 1293
    /* Encode prefix length */
1294
    *pos = net->pxlen;
1294
    *pos = 64 + net->pxlen;
1295 1295
    ADVANCE(pos, size, 1);
1296 1296

  
1297 1297
    /* Encode MPLS labels */
......
1417 1417
    }
1418 1418

  
1419 1419
    /* Encode prefix length */
1420
    *pos = net->pxlen;
1420
    *pos = 64 + net->pxlen;
1421 1421
    ADVANCE(pos, size, 1);
1422 1422

  
1423 1423
    /* Encode MPLS labels */

Also available in: Unified diff