#!/bin/sh
# DF-3468 build
set -e
cd "$(dirname "$0")"
in-guest: cc -O2 -o /root/mpls_leak /root/mpls_leak.c (after building+booting an `options MPLS` kernel: cp X86_64_GENERIC MPLSAUDIT; echo 'options MPLS'; make -j6 nativekernel KERNCONF=MPLSAUDIT; make installkernel; reboot)