summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/phone_device.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/phone_device.html')
-rw-r--r--httemplate/edit/process/phone_device.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/process/phone_device.html b/httemplate/edit/process/phone_device.html
index df9d5e793..689a65ede 100644
--- a/httemplate/edit/process/phone_device.html
+++ b/httemplate/edit/process/phone_device.html
@@ -10,6 +10,10 @@
%>
<%init>
+if($cgi->param('sel_mac_addr') && !$cgi->param('mac_addr')) {
+ $cgi->param('mac_addr',$cgi->param('sel_mac_addr'));
+}
+
# :/ needs agent-virt so you can't futz with arbitrary devices
die "access denied"