Skip to content

Commit

Permalink
Add a HOSTS3 entry for the gateway IP.
Browse files Browse the repository at this point in the history
This is needed to make COMSAT parse the IP address properly.
  • Loading branch information
bictorv authored and larsbrinkhoff committed Sep 17, 2024
1 parent 85b2050 commit 2d1b8c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ $(OUT)/syshst/$(H3TEXT): build/$(H3TEXT)
$(MKDIR) $(OUT)/syshst
$(SED) -e 's/%IP%/$(IP)/' \
-e 's/%HOSTNAME%/$(HOSTNAME)/' \
-e 's/%GW%/$(GW)/' \
-e 's/%MCHN%/$(MCHN)/' < $< > $@
$(CAT) conf/hosts >> $@

Expand Down
1 change: 1 addition & 0 deletions build/h3text.2018
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ HOST : CHAOS 177001 : BRIDGE, LOCAL-TIME-SERVER : UNIX : UNIX : :

;;; Generated by build script.
HOST : CHAOS 177002, %IP% : %HOSTNAME%, %MCHN% : PDP-10 : ITS : :
HOST : %GW% : %MCHN%-GW : UNIX : UNIX : :

;; SDF public ITS machines.
HOST : 205.166.94.7 : HACTRN.ORG, HX : PDP-10 : ITS : :
Expand Down
3 changes: 2 additions & 1 deletion build/names.2011
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@

; Gateways and bug host. To set a value, use (EQV-LIST @host), where
; host is a known host name, or an (octal) Chaosnet address, or
; an IP address such as 192.168.1.1. Remember the @.
; an IP address such as 192.168.1.1. Remember the @, and
; NOTE that the address must belong to a host in SYSTEM;H3TEXT.
; *COMSAT-TCP-GATEWAY sets TCPGAT, which is used for all non-Chaosnet mail.
(*COMSAT-TCP-GATEWAY (EQV-LIST @%GW%))
; *COMSAT-DOMAIN-GATEWAY sets DOMGAT, which is used as a relay
Expand Down

0 comments on commit 2d1b8c6

Please sign in to comment.