version 1.1.1.2, 2012/10/09 09:22:29
|
version 1.1.1.3, 2016/11/02 10:09:10
|
Line 638 DEFUN (no_ip_irdp_address_preference,
|
Line 638 DEFUN (no_ip_irdp_address_preference,
|
{ |
{ |
struct listnode *node, *nnode; |
struct listnode *node, *nnode; |
struct in_addr ip; |
struct in_addr ip; |
int pref; |
|
int ret; |
int ret; |
struct interface *ifp; |
struct interface *ifp; |
struct zebra_if *zi; |
struct zebra_if *zi; |
Line 656 DEFUN (no_ip_irdp_address_preference,
|
Line 655 DEFUN (no_ip_irdp_address_preference,
|
ret = inet_aton(argv[0], &ip); |
ret = inet_aton(argv[0], &ip); |
if (!ret) |
if (!ret) |
return CMD_WARNING; |
return CMD_WARNING; |
|
|
pref = atoi(argv[1]); |
|
|
|
for (ALL_LIST_ELEMENTS (irdp->AdvPrefList, node, nnode, adv)) |
for (ALL_LIST_ELEMENTS (irdp->AdvPrefList, node, nnode, adv)) |
{ |
{ |