Browse Source

SPI values 0-255 are reserved, so change the example to use a valid one.

fixes parsing of the example configuration
OK benno@
OPENBSD_6_2 OPENBSD_6_2_BASE
phessler 7 years ago
parent
commit
f8314720c5
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/examples/bgpd.conf

+ 3
- 3
src/etc/examples/bgpd.conf View File

@ -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 # sample bgpd configuration file
# see bgpd.conf(5) # see bgpd.conf(5)
@ -73,9 +73,9 @@ neighbor 10.0.0.0/24 {
neighbor 10.2.1.1 { neighbor 10.2.1.1 {
remote-as 65023 remote-as 65023
local-address 10.0.0.8 local-address 10.0.0.8
ipsec esp in spi 10 sha1 0a4f1d1f1a1c4f3c9e2f6f0f2a8e9c8c5a1b0b3b \
ipsec esp in spi 1010 sha1 0a4f1d1f1a1c4f3c9e2f6f0f2a8e9c8c5a1b0b3b \
aes 0c1b3a6c7d7a8d2e0e7b4f3d5e8e6c1e aes 0c1b3a6c7d7a8d2e0e7b4f3d5e8e6c1e
ipsec esp out spi 12 sha1 0e9c8f6a8e2c7d3a0b5d0d0f0a3c5c1d2b8e0f8b \
ipsec esp out spi 1012 sha1 0e9c8f6a8e2c7d3a0b5d0d0f0a3c5c1d2b8e0f8b \
aes 4e0f2f1b5c4e3c0d0e2f2d3b8c5c8f0b aes 4e0f2f1b5c4e3c0d0e2f2d3b8c5c8f0b
} }


Loading…
Cancel
Save