Revision a240432e

View differences:

proto/bgp/bgp.c
453 453
            const char *keyLoadInmap_RTmap;
454 454
            map_iter_t iterLoadInmap_RTmap = map_iter(RTmap_element->loadin);
455 455
            while ((keyLoadInmap_RTmap = map_next(RTmap_element->loadin, &iterLoadInmap_RTmap))) {
456
                int keyValue = (int) strtol(keyLoadInmap_RTmap, (char **) NULL, 16);
456
                int keyValue = (int) strtol(keyLoadInmap_RTmap, (char **) NULL, 10);
457 457
                if (keyValue == conn->bgp->remote_as) {
458 458
                    log(L_INFO "REMOVE LOADIN 2 %d %d", keyValue, conn->bgp->remote_as);
459 459
                    map_remove(RTmap_element->loadin, keyLoadInmap_RTmap);

Also available in: Unified diff