summaryrefslogtreecommitdiff
path: root/etc/examples
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2017-09-29 11:00:40 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2017-09-29 11:00:40 +0000
commit045cf6eca4d1d81259e9940702434c691f76f583 (patch)
tree23dded8c9af9be7f718a1e02887a8e0069924f78 /etc/examples
parenta9d8f8818f51b039333984dd38e42a3078efc5b0 (diff)
SPI values 0-255 are reserved, so change the example to use a valid one.
fixes parsing of the example configuration OK benno@
Diffstat (limited to 'etc/examples')
-rw-r--r--etc/examples/bgpd.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/examples/bgpd.conf b/etc/examples/bgpd.conf
index fa9d875d8d3..57cba1874b3 100644
--- a/etc/examples/bgpd.conf
+++ b/etc/examples/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.7 2017/09/22 09:28:47 phessler Exp $
+# $OpenBSD: bgpd.conf,v 1.8 2017/09/29 11:00:39 phessler Exp $
# sample bgpd configuration file
# see bgpd.conf(5)
@@ -73,9 +73,9 @@ neighbor 10.0.0.0/24 {
neighbor 10.2.1.1 {
remote-as 65023
local-address 10.0.0.8
- ipsec esp in spi 10 sha1 0a4f1d1f1a1c4f3c9e2f6f0f2a8e9c8c5a1b0b3b \
+ ipsec esp in spi 1010 sha1 0a4f1d1f1a1c4f3c9e2f6f0f2a8e9c8c5a1b0b3b \
aes 0c1b3a6c7d7a8d2e0e7b4f3d5e8e6c1e
- ipsec esp out spi 12 sha1 0e9c8f6a8e2c7d3a0b5d0d0f0a3c5c1d2b8e0f8b \
+ ipsec esp out spi 1012 sha1 0e9c8f6a8e2c7d3a0b5d0d0f0a3c5c1d2b8e0f8b \
aes 4e0f2f1b5c4e3c0d0e2f2d3b8c5c8f0b
}