diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch')
-rw-r--r-- | main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch b/main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch new file mode 100644 index 0000000000..60e4827d6f --- /dev/null +++ b/main/opennhrp/opennhrp-0.9.3-peer-up-bgp.patch @@ -0,0 +1,11 @@ +diff -ru opennhrp-0.9.3.orig/etc/opennhrp-script opennhrp-0.9.3/etc/opennhrp-script +--- opennhrp-0.9.3.orig/etc/opennhrp-script 2009-02-26 10:35:38 +0000 ++++ opennhrp-0.9.3/etc/opennhrp-script 2009-02-26 10:52:26 +0000 +@@ -15,6 +15,7 @@ + echo "Create link from $NHRP_SRCADDR ($NHRP_SRCNBMA) to $NHRP_DESTADDR ($NHRP_DESTNBMA)" + racoonctl establish-sa -w isakmp inet $NHRP_SRCNBMA $NHRP_DESTNBMA || exit 1 + racoonctl establish-sa -w esp inet $NHRP_SRCNBMA $NHRP_DESTNBMA gre || exit 1 ++ vtysh -d bgpd -c "clear bgp $NHRP_DESTADDR" 2>/dev/null || true + ;; + peer-down) + echo "Delete link from $NHRP_SRCADDR ($NHRP_SRCNBMA) to $NHRP_DESTADDR ($NHRP_DESTNBMA)" |