A method for detecting, in a network of routers (A, B, C, D, E, F, G) using a dynamic link state routing protocol, referred to as the SPF protocol, a destination that could generate a routing loop when said network of routers changes from: - a given topology, referred to as the initial topology, before the reboot of a router in one mode, referred to as continuity of traffic mode, for which the control function of the routing table of the router is rebooted, but for which the data transmission function remains active, - to, in the course of rebooting said router, a different topology, referred to as the current topology, for which at least one other router has modified in its routing table, for at least a given destination, its successor, a source graph for a router corresponding to the shortest paths according to the SPF protocol, which extend from said source router to reach the other routers in the network, and a destination graph of a router corresponding to the shortest paths according to the SPF protocol, which leave other routers in the network to reach said router, said method comprising the steps of: - determining the source graph for the rebooting router on the basis of said initial network topology; - for each of routers (B, D, E), referred to as detecting routers, which are adjacent to said rebooting router in the source graph of said rebooting router, determining the corresponding detecting router (B, D, E) source graph based on the current network topology; - for each detecting router (B, D, E), determining a first set of routers comprising descendants of said detecting router (B, D, E) in the rebooting router source graph, and a second set of routers comprising descendant routers from the rebooting router in the source graph of said detecting router (B, D, E); - for each detecting router (B, D, E) determining a third set, formed by the intersection of the first set and the second set; - calculating a set of destinations at risk as being the union of the third sets. - a given topology, referred to as the initial topology, before the reboot of a router in one mode, referred to as continuity of traffic mode, for which the control function of the routing table of the router is rebooted, but for which the data transmission function remains active, - to, in the course of rebooting said router, a different topology, referred to as the current topology, for which at least one other router has modified in its routing table, for at least a given destination, its successor, - determining the source graph for the rebooting router on the basis of said initial network topology; - for each of routers (B, D, E), referred to as detecting routers, which are adjacent to said rebooting router in the source graph of said rebooting router, determining the corresponding detecting router (B, D, E) source graph based on the current network topology; - for each detecting router (B, D, E), determining a first set of routers comprising descendants of said detecting router (B, D, E) in the rebooting router source graph, and a second set of routers comprising descendant routers from the rebooting router in the source graph of said detecting router (B, D, E); - for each detecting router (B, D, E) determining a third set, formed by the intersection of the first set and the second set; - calculating a set of destinations at risk as being the union of the third sets.