Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 825358
Collapse All | Expand All

(-)a/bgpd/bgp_vty.c (-5 lines)
Lines 4157-4167 static int peer_remote_as_vty(struct vty *vty, const char *peer_str, Link Here
4157
			return CMD_SUCCESS;
4157
			return CMD_SUCCESS;
4158
		}
4158
		}
4159
	} else {
4159
	} else {
4160
		if (peer_address_self_check(bgp, &su)) {
4161
			vty_out(vty,
4162
				"%% Can not configure the local system as neighbor\n");
4163
			return CMD_WARNING_CONFIG_FAILED;
4164
		}
4165
		ret = peer_remote_as(bgp, &su, NULL, &as, as_type);
4160
		ret = peer_remote_as(bgp, &su, NULL, &as, as_type);
4166
	}
4161
	}
4167
4162

Return to bug 825358