diff options
| author | 2026-04-08 16:36:59 +0000 | |
|---|---|---|
| committer | 2026-04-08 16:36:59 +0000 | |
| commit | bca037330893403ee20e8d6381db9b375c137c19 (patch) | |
| tree | 835cb4262c48f012a2bf15691400736134094855 /lib_autopeer.py | |
| parent | shorten wg name (diff) | |
misc fixes
Diffstat (limited to 'lib_autopeer.py')
| -rw-r--r-- | lib_autopeer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_autopeer.py b/lib_autopeer.py index 283f71b..3d1652f 100644 --- a/lib_autopeer.py +++ b/lib_autopeer.py @@ -38,7 +38,7 @@ protocol bgp as{far_side.asn}{name} from dnpeers {{ import where dn42_import_filter({filter}); export where dn42_export_filter({filter}); }}; - interface "wg-{far_side.asn}-{name}"; + interface "wg{far_side.asn%10000:04}{name}"; }}; ''' |
