skip config

This commit is contained in:
Tony Garnock-Jones 2014-06-21 06:48:12 -04:00
parent b497004f0b
commit 034a96bcc9
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@
(spawn (lambda (e s) #f)
(void)
(match (gethostname)
["skip"
(gestalt-union (pub (gateway-route (bytes 0 0 0 0) 0 (bytes 192 168 1 1) "en0"))
(pub (host-route (bytes 192 168 1 222) 24 "en0")))]
["hop"
(gestalt-union (pub (gateway-route (bytes 0 0 0 0) 0 (bytes 192 168 1 1) "wlan0"))
(pub (host-route (bytes 192 168 1 222) 24 "wlan0")))]