[Zrouter-src] ZRouter.org: push to ZRouter profiles/lua_web_ui/files/etc/dhcli...
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Mon Sep 24 11:23:55 UTC 2012
details: http://zrouter.org/hg/zrouter//rev/7a9c32f8fc56
changeset: 473:7a9c32f8fc56
user: Aleksandr Rybalko <ray at ddteam.net>
date: Mon Sep 24 14:27:11 2012 +0300
description:
Define proto=inet for dhclient event and MPD events, so we will know inteface is up or IP layer went UP.
diffstat:
profiles/lua_web_ui/files/etc/dhclient-script | 1 +
profiles/lua_web_ui/files/etc/racoon/phase1-down.sh | 1 +
profiles/lua_web_ui/files/etc/racoon/phase1-up.sh | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diffs (33 lines):
diff -r cf66b8733a66 -r 7a9c32f8fc56 profiles/lua_web_ui/files/etc/dhclient-script
--- a/profiles/lua_web_ui/files/etc/dhclient-script Mon Sep 24 14:24:52 2012 +0300
+++ b/profiles/lua_web_ui/files/etc/dhclient-script Mon Sep 24 14:27:11 2012 +0300
@@ -45,6 +45,7 @@
query="${query}&iface=${interface}"
query="${query}&gw=${new_routers}"
query="${query}&ip=${new_ip_address}"
+ query="${query}&proto=inet"
query="${query}&netmask=${new_subnet_mask}"
query="${query}&dhclient_reason=${reason}"
query="${query}&dhclient_lease_time=${new_dhcp_lease_time}"
diff -r cf66b8733a66 -r 7a9c32f8fc56 profiles/lua_web_ui/files/etc/racoon/phase1-down.sh
--- a/profiles/lua_web_ui/files/etc/racoon/phase1-down.sh Mon Sep 24 14:24:52 2012 +0300
+++ b/profiles/lua_web_ui/files/etc/racoon/phase1-down.sh Mon Sep 24 14:27:11 2012 +0300
@@ -14,6 +14,7 @@
query="cmd=event"
query="${query}&state=down"
+query="${query}&proto=inet"
query="${query}&iface=IPSec0" # XXX: should use names for IPSec peers
query="${query}&gw=${REMOTE_ADDR}:${REMOTE_PORT}"
query="${query}&ip=${LOCAL_ADDR}:${LOCAL_PORT}"
diff -r cf66b8733a66 -r 7a9c32f8fc56 profiles/lua_web_ui/files/etc/racoon/phase1-up.sh
--- a/profiles/lua_web_ui/files/etc/racoon/phase1-up.sh Mon Sep 24 14:24:52 2012 +0300
+++ b/profiles/lua_web_ui/files/etc/racoon/phase1-up.sh Mon Sep 24 14:27:11 2012 +0300
@@ -14,6 +14,7 @@
query="cmd=event"
query="${query}&state=up"
+query="${query}&proto=inet"
query="${query}&iface=IPSec0" # XXX: should use names for IPSec peers
query="${query}&gw=${REMOTE_ADDR}:${REMOTE_PORT}"
query="${query}&ip=${LOCAL_ADDR}:${LOCAL_PORT}"
More information about the Zrouter-src
mailing list